]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
19 years agoCDEV lock should be before 'system map' lock.
pjd [Sat, 9 Apr 2005 13:32:01 +0000 (13:32 +0000)]
CDEV lock should be before 'system map' lock.
Hardcode this order to help track down reported LOR.

LOR reported by: Thierry Herbelot <thierry@herbelot.com>
LOR info: http://sources.zabbadoz.net/freebsd/lor.html#080

19 years ago - Remove the namei NOOBJ flag. It is meaningless now.
jeff [Sat, 9 Apr 2005 12:04:36 +0000 (12:04 +0000)]
 - Remove the namei NOOBJ flag.  It is meaningless now.

Sponsored by: Isilon Systems, Inc.

19 years ago - If we vrele() a dvp while the child is locked we can potentially deadlock
jeff [Sat, 9 Apr 2005 11:53:16 +0000 (11:53 +0000)]
 - If we vrele() a dvp while the child is locked we can potentially deadlock
   when vrele() acquires the directory lock in the wrong order.  Fix this
   via the following changes:
 - Keep the directory locked after VOP_LOOKUP() until we've determined
   what we're going to do with the child.  This allows us to remove the
   complicated post LOOKUP code which determins whether we should lock or
   unlock the parent.  This means we may have to vput() in the appropriate
   cases later, rather than doing an unsafe vrele.
 - in NDFREE() keep two flags to indicate whether we need to unlock vp or
   dvp.  This allows us to vput rather than vrele in the appropriate
   cases without rechecking the flags.  Move the code to handle dvp after
   we handle vp.
 - Remove some dead code from namei() that was the result of changes to
   VFS_LOCK_GIANT().

Sponsored by: Isilon Systems, Inc.

19 years agoAdd a missing terminator.
pjd [Sat, 9 Apr 2005 11:31:31 +0000 (11:31 +0000)]
Add a missing terminator.

Confirmed by: rwatson

19 years agoFix small spelling error.
joel [Sat, 9 Apr 2005 08:47:38 +0000 (08:47 +0000)]
Fix small spelling error.

Approved by: brueffer (mentor)

19 years agoo Document net.inet.ip.maxfragpackets and maxfragsperpacket sysctls.
maxim [Sat, 9 Apr 2005 08:44:57 +0000 (08:44 +0000)]
o Document net.inet.ip.maxfragpackets and maxfragsperpacket sysctls.

Reviewed by: ru, silby
MFC after: 1 week

19 years agoMFen to 1.17
delphij [Sat, 9 Apr 2005 06:22:32 +0000 (06:22 +0000)]
MFen to 1.17

Obtained from: The FreeBSD Simplified Chinese Project CVS

19 years agoMFen to 1.10
delphij [Sat, 9 Apr 2005 03:09:06 +0000 (03:09 +0000)]
MFen to 1.10

Obtained from: The FreeBSD Simplified Chinese Project

19 years agoExplicity make atapi-cam depend on CAM.
scottl [Fri, 8 Apr 2005 22:51:50 +0000 (22:51 +0000)]
Explicity make atapi-cam depend on CAM.

Submitted by: Michal Mertl

19 years agoISO C does not allow unnamed union members.
stefanf [Fri, 8 Apr 2005 21:37:41 +0000 (21:37 +0000)]
ISO C does not allow unnamed union members.

19 years agoFix typo in comment.
stefanf [Fri, 8 Apr 2005 21:31:20 +0000 (21:31 +0000)]
Fix typo in comment.

19 years agoRemove unused variables and assignments.
stefanf [Fri, 8 Apr 2005 21:24:23 +0000 (21:24 +0000)]
Remove unused variables and assignments.

19 years agoUse prototypes in the function definitions.
stefanf [Fri, 8 Apr 2005 21:15:38 +0000 (21:15 +0000)]
Use prototypes in the function definitions.

19 years agoRemove unused variable.
stefanf [Fri, 8 Apr 2005 20:58:47 +0000 (20:58 +0000)]
Remove unused variable.

19 years ago'apic' isn't optional on amd64, so don't speak as if it is.
obrien [Fri, 8 Apr 2005 20:24:45 +0000 (20:24 +0000)]
'apic' isn't optional on amd64, so don't speak as if it is.

19 years agoDocument FTDI FT2232C support.
brueffer [Fri, 8 Apr 2005 18:12:07 +0000 (18:12 +0000)]
Document FTDI FT2232C support.

19 years agoAdd nForce3-250.
obrien [Fri, 8 Apr 2005 18:04:39 +0000 (18:04 +0000)]
Add nForce3-250.

19 years agoAdd support for the PHY on nVidia, SiS and VIA chips
sos [Fri, 8 Apr 2005 15:33:04 +0000 (15:33 +0000)]
Add support for the PHY on nVidia, SiS and VIA chips
This code is done blindfolded as I dont have such HW here, so reports
of success/failure are most welcome.

More SATA PHY cleanups.

19 years agoChange an instance of md_savecrit to md_saved_msr that I missed.
jhb [Fri, 8 Apr 2005 14:26:55 +0000 (14:26 +0000)]
Change an instance of md_savecrit to md_saved_msr that I missed.

19 years agoAdd additional newline to debug.mutex.prof.stats header, so that
glebius [Fri, 8 Apr 2005 14:14:09 +0000 (14:14 +0000)]
Add additional newline to debug.mutex.prof.stats header, so that
column names are printed exactly above the columns.

19 years agoAdd support for Sitecom USB to serial cable (v2)
le [Fri, 8 Apr 2005 12:48:05 +0000 (12:48 +0000)]
Add support for Sitecom USB to serial cable (v2)

PR:            usb/79230
Submitted by:  Rick van der Zwet <rick@wzoeterwoude.net>

19 years agoPut the BUS_DMASYNC_PREWRITE in the rigth position.
sos [Fri, 8 Apr 2005 12:16:51 +0000 (12:16 +0000)]
Put the BUS_DMASYNC_PREWRITE in the rigth position.

19 years agoRevert parts of previous commits and use a temporary variable to avoid
des [Fri, 8 Apr 2005 11:19:50 +0000 (11:19 +0000)]
Revert parts of previous commits and use a temporary variable to avoid
an invalid type pun.

19 years agoExpand contractions.
joel [Fri, 8 Apr 2005 10:38:12 +0000 (10:38 +0000)]
Expand contractions.

Approved by: brueffer (mentor)

19 years agoGrammatical improvement.
ceri [Fri, 8 Apr 2005 10:32:22 +0000 (10:32 +0000)]
Grammatical improvement.

19 years agoo Nano optimize ip_reass() code path for the first fragment: do not
maxim [Fri, 8 Apr 2005 10:25:13 +0000 (10:25 +0000)]
o Nano optimize ip_reass() code path for the first fragment: do not
try to reasseble the packet from the fragments queue with the only
fragment, finish with the first fragment as soon as we create a queue.

Spotted by: Vijay Singh

o Drop the fragment if maxfragsperpacket == 0, no chances we
will be able to reassemble the packet in future.

Reviewed by: silby

19 years agoCommodore Perry was not 4 years old when he sailed to Japan. Correct
murray [Fri, 8 Apr 2005 09:50:30 +0000 (09:50 +0000)]
Commodore Perry was not 4 years old when he sailed to Japan.  Correct
birth year.

19 years agoGeneralise the SATA PHY handling code so it wont be duplicated for
sos [Fri, 8 Apr 2005 09:37:47 +0000 (09:37 +0000)]
Generalise the SATA PHY handling code so it wont be duplicated for
each SATA chip.
Promise and Silicon Image are the current candidates for this.

19 years agoFix a long-standing bug. Error string has to be copyied from the user
pjd [Fri, 8 Apr 2005 09:28:08 +0000 (09:28 +0000)]
Fix a long-standing bug. Error string has to be copyied from the user
process context.

Approved by: phk
MFC after: 3 days

19 years agoAdd myself (and decrease the average age).
joel [Fri, 8 Apr 2005 09:04:29 +0000 (09:04 +0000)]
Add myself (and decrease the average age).

Approved by: brueffer (mentor)

19 years agoMove the code for parsing .for and .if statements to the place where the
harti [Fri, 8 Apr 2005 09:03:40 +0000 (09:03 +0000)]
Move the code for parsing .for and .if statements to the place where the
other directives are handled.

19 years agoo Tweak the comment a bit.
maxim [Fri, 8 Apr 2005 08:43:21 +0000 (08:43 +0000)]
o Tweak the comment a bit.

19 years agoo Disable random port allocation when ip.portrange.first ==
maxim [Fri, 8 Apr 2005 08:42:10 +0000 (08:42 +0000)]
o Disable random port allocation when ip.portrange.first ==
ip.portrange.last and there is the only port for that because:
a) it is not wise; b) it leads to a panic in the random ip port
allocation code.  In general we need to disable ip port allocation
randomization if the last - first delta is ridiculous small.

PR: kern/79342
Spotted by: Anjali Kulkarni
Glanced at by: silby
MFC after: 2 weeks

19 years agoA simple regression test for msdosfs. Not the best, but it would have caught
silby [Fri, 8 Apr 2005 07:21:07 +0000 (07:21 +0000)]
A simple regression test for msdosfs.  Not the best, but it would have caught
the recent trouble msdosfs had.

19 years agoMinor style(9) changes
imp [Fri, 8 Apr 2005 05:22:58 +0000 (05:22 +0000)]
Minor style(9) changes
o use prototype definition
o use mse_{isa,cbus}_{probe,attach,detach} in preference to
  mse_{probe,attach,detach}.

19 years agoAdd machine-specific, optimized implementations of bcmp and memcmp.
alc [Fri, 8 Apr 2005 05:15:55 +0000 (05:15 +0000)]
Add machine-specific, optimized implementations of bcmp and memcmp.

PR: 73111
Submitted by: Ville-Pertti Keinonen <will@iki.fi> (taken from NetBSD)
MFC after: 3 weeks

19 years agoChange the embedded module name from "bluetooth" to "ng_bluetooth" to match
peter [Fri, 8 Apr 2005 05:13:53 +0000 (05:13 +0000)]
Change the embedded module name from "bluetooth" to "ng_bluetooth" to match
the rest of the names assigned to this object.

19 years agoEliminate unneeded instructions that are a vestige of mechanical
alc [Fri, 8 Apr 2005 05:10:18 +0000 (05:10 +0000)]
Eliminate unneeded instructions that are a vestige of mechanical
translation from i386.

19 years agoFix pc98 includes.
nyan [Fri, 8 Apr 2005 03:38:13 +0000 (03:38 +0000)]
Fix pc98 includes.

19 years agoSprinkle some volatile magic and rearrange things a bit to avoid race
ups [Fri, 8 Apr 2005 03:37:53 +0000 (03:37 +0000)]
Sprinkle some volatile magic and rearrange things a bit to avoid race
conditions in critical_exit now that it no longer blocks interrupts.

Reviewed by: jhb

19 years agoDon't use 'i386/include' directly.
nyan [Fri, 8 Apr 2005 03:37:20 +0000 (03:37 +0000)]
Don't use 'i386/include' directly.

19 years agoRemove the wl driver. The devices don't work on pc98.
nyan [Fri, 8 Apr 2005 03:36:32 +0000 (03:36 +0000)]
Remove the wl driver.  The devices don't work on pc98.

19 years agoAdd roundl(), lroundl(), and llroundl().
das [Fri, 8 Apr 2005 01:24:08 +0000 (01:24 +0000)]
Add roundl(), lroundl(), and llroundl().

19 years agoThese files should include s_lround.c instead of s_lrint.c.
das [Fri, 8 Apr 2005 00:52:27 +0000 (00:52 +0000)]
These files should include s_lround.c instead of s_lrint.c.
This only matters for efficiency, not for correctness.

19 years agoFix a (coincidentally harmless) bug.
das [Fri, 8 Apr 2005 00:52:16 +0000 (00:52 +0000)]
Fix a (coincidentally harmless) bug.

19 years agoBackout previous diffs - this functionality is already provided by the
sobomax [Thu, 7 Apr 2005 23:59:38 +0000 (23:59 +0000)]
Backout previous diffs - this functionality is already provided by the
hints to the atkbd(4).

Submitted by:   jhb

19 years agoBackout previous diffs - this functionality is already provided by the
sobomax [Thu, 7 Apr 2005 23:59:37 +0000 (23:59 +0000)]
Backout previous diffs - this functionality is already provided by the
hints to the atkbd(4).

PR:
Submitted by:   jhb

19 years agoTreat arm as i386.
cognet [Thu, 7 Apr 2005 22:09:02 +0000 (22:09 +0000)]
Treat arm as i386.

19 years agoGet more love from GEOM on arm.
cognet [Thu, 7 Apr 2005 22:06:56 +0000 (22:06 +0000)]
Get more love from GEOM on arm.

19 years agoUse the new atomic_cmpset_32().
cognet [Thu, 7 Apr 2005 22:06:05 +0000 (22:06 +0000)]
Use the new atomic_cmpset_32().

19 years agoNo need to provide atomic_cmpset_32() anymore.
cognet [Thu, 7 Apr 2005 22:04:49 +0000 (22:04 +0000)]
No need to provide atomic_cmpset_32() anymore.

19 years agoDon't announce the range SDRAM_START-freemempos until I figure out what's
cognet [Thu, 7 Apr 2005 22:04:18 +0000 (22:04 +0000)]
Don't announce the range SDRAM_START-freemempos until I figure out what's
going on, it produces random memory corruption.

19 years agopmap_update() is gone.
cognet [Thu, 7 Apr 2005 22:03:34 +0000 (22:03 +0000)]
pmap_update() is gone.

19 years agoImport a basic implementation of the restartable atomic sequences to provide
cognet [Thu, 7 Apr 2005 22:03:04 +0000 (22:03 +0000)]
Import a basic implementation of the restartable atomic sequences to provide
atomic operations to userland (this is OK for UP only, but SMP is still so
far away).

19 years ago- Try harder to report dirty page.
cognet [Thu, 7 Apr 2005 22:01:53 +0000 (22:01 +0000)]
- Try harder to report dirty page.
- Garbage-collect pmap_update(), it became quite useless.

19 years agoAdd rudimentary man pages for kernel options sched_4bsd and sched_ule,
rwatson [Thu, 7 Apr 2005 21:57:19 +0000 (21:57 +0000)]
Add rudimentary man pages for kernel options sched_4bsd and sched_ule,
which document some of the sysctls available for configuring 4bsd, some
of the bullet features of ule, and that ule is considered experimental
still.

MFC after: 3 days

19 years agoDocument problems with writing to disks under GEOM.
scottl [Thu, 7 Apr 2005 20:50:38 +0000 (20:50 +0000)]
Document problems with writing to disks under GEOM.

19 years agoWhen accessing the sysctl vfs.nfs.iodmax, don't report errors as being
brooks [Thu, 7 Apr 2005 20:37:04 +0000 (20:37 +0000)]
When accessing the sysctl vfs.nfs.iodmax, don't report errors as being
from accessing vfs.nfs.iodmin.

19 years agoDocument how to make boot0cfg work on mounted disks.
scottl [Thu, 7 Apr 2005 20:04:55 +0000 (20:04 +0000)]
Document how to make boot0cfg work on mounted disks.

19 years agoDocument the GEOM debug flags.
scottl [Thu, 7 Apr 2005 19:59:28 +0000 (19:59 +0000)]
Document the GEOM debug flags.

19 years agoAn array was mistaken for a pointer in the previous commit.
nectar [Thu, 7 Apr 2005 19:26:35 +0000 (19:26 +0000)]
An array was mistaken for a pointer in the previous commit.

Noticed by: tinderbox, stefanf
Pointy hat to: nectar

19 years agoMake previous commit actually working by replacing TUNABLE_INT() with
sobomax [Thu, 7 Apr 2005 18:18:17 +0000 (18:18 +0000)]
Make previous commit actually working by replacing TUNABLE_INT() with
TUNABLE_INT_FETCH(). Apparently keyboard init is performed earlier
in the boot process than fetching all static tunables.

MFC after: 1 day

19 years agoRevert part of 1.19. We do want to set the count to 0 since otherwise
njl [Thu, 7 Apr 2005 17:33:22 +0000 (17:33 +0000)]
Revert part of 1.19.  We do want to set the count to 0 since otherwise
it would give false info to other parts of the driver.

19 years agoHook up new man page for devclass_get_drivers() to build
njl [Thu, 7 Apr 2005 17:27:14 +0000 (17:27 +0000)]
Hook up new man page for devclass_get_drivers() to build

Reminded by: ru

19 years agoProvide a new tunable hw.atkbdc.broken_kit_cmd, which if set to 1
sobomax [Thu, 7 Apr 2005 17:15:10 +0000 (17:15 +0000)]
Provide a new tunable hw.atkbdc.broken_kit_cmd, which if set to 1
instructs the driver to avoid using Keyboard Interface Test command.
This command causes problems with some non-compliant hardware, resulting
in machine being abruptly powered down early in the boot process.

Particularly it's known that HP ZV5000 and Compaq R3000Z notebooks
are affected by this problem.

Due to popularity of those models this patch is good MFC5.4 candidate.

PR: 67745
Submitted by: Jung-uk Kim jkim at niksun.com
MFC after: 1 days

19 years agoAllow classes to specify local source files.
pjd [Thu, 7 Apr 2005 15:57:38 +0000 (15:57 +0000)]
Allow classes to specify local source files.

MFC after: 3 weeks

19 years agos/foobar/mekmitasdigoat/g
glebius [Thu, 7 Apr 2005 15:28:14 +0000 (15:28 +0000)]
s/foobar/mekmitasdigoat/g

Requested by: ceri, des

19 years agoWhen Parse_Error is called after the top-level Makefile is closed we
harti [Thu, 7 Apr 2005 14:39:38 +0000 (14:39 +0000)]
When Parse_Error is called after the top-level Makefile is closed we
have no CURFILE anymore so we cannot print a file name or line number.

When ParseSkipLine() returns NULL (it does this when it has detected an
EOF in an .if block) try to pop the input stack and process the next line

19 years ago- Be more informative about advbase and advskew. [1]
glebius [Thu, 7 Apr 2005 14:20:34 +0000 (14:20 +0000)]
- Be more informative about advbase and advskew. [1]
- Fix ifconfig commands. Replace 'mekmitasdigoat' with
  'foobar'. While the former is more cool, the latter
  makes example lines shorter.

Wording by:     scottl
MFC after: 3 days

19 years agoHandle popping of the input stack in ParseReadLine() instead of
harti [Thu, 7 Apr 2005 11:29:39 +0000 (11:29 +0000)]
Handle popping of the input stack in ParseReadLine() instead of
Parse_File(). Remove a comment and a piece of code comming from
ancient times when the if-directive read like #if and not .if.
Correctly analyze the first character of a line.

19 years agoMostly stylistic changes: remove the noPLen field from the Shell
harti [Thu, 7 Apr 2005 11:26:15 +0000 (11:26 +0000)]
Mostly stylistic changes: remove the noPLen field from the Shell
structure - it is just the strlen() of noPrint. Inline JobCondPassSig()
in the only function JobPassSig() using it. Fix the argument types
of JobPrintCommand(). Better parsing for the .SHELL target keywords.

19 years agoGive msdosfs a unique inode number which is really the byteoffset of
phk [Thu, 7 Apr 2005 07:55:37 +0000 (07:55 +0000)]
Give msdosfs a unique inode number which is really the byteoffset of
the directory entry.

This solves the corruption problem I belive.

Regression test script by: silby

19 years agoFix bug in vfs_hash_rehash(): use correct bucket. This only affected
phk [Thu, 7 Apr 2005 07:54:08 +0000 (07:54 +0000)]
Fix bug in vfs_hash_rehash(): use correct bucket.  This only affected
msdosfs which is broken in other ways too.

19 years agoEmpty error buffer is not an error.
pjd [Thu, 7 Apr 2005 06:46:11 +0000 (06:46 +0000)]
Empty error buffer is not an error.

MFC after: 3 weeks

19 years agoAdjust hash function for smaller pthread structure size.
davidxu [Thu, 7 Apr 2005 06:09:17 +0000 (06:09 +0000)]
Adjust hash function for smaller pthread structure size.

19 years agoEliminate an unneeded instruction that is a vestige of mechanical
alc [Thu, 7 Apr 2005 05:46:46 +0000 (05:46 +0000)]
Eliminate an unneeded instruction that is a vestige of mechanical
translation from i386.

19 years agoFix strict-alias warnings by removing excessive (and wrong) casts.
peter [Thu, 7 Apr 2005 04:33:15 +0000 (04:33 +0000)]
Fix strict-alias warnings by removing excessive (and wrong) casts.

19 years agoAdd machine-specific, optimized implementations of bcopy, bzero, memcpy,
alc [Thu, 7 Apr 2005 03:56:03 +0000 (03:56 +0000)]
Add machine-specific, optimized implementations of bcopy, bzero, memcpy,
memmove, and memset.

PR: 73111
Submitted by: Ville-Pertti Keinonen <will@iki.fi> (taken from NetBSD)
MFC after: 3 weeks

19 years agoMFen 1.843
delphij [Thu, 7 Apr 2005 02:59:18 +0000 (02:59 +0000)]
MFen 1.843

Obtained from: The FreeBSD Simplified Chinese Project CVS

19 years agoCorrect typo that could cause FIFO overflow.
emax [Wed, 6 Apr 2005 22:09:32 +0000 (22:09 +0000)]
Correct typo that could cause FIFO overflow.

PR: kern/78431
MFC after: 3 days

19 years agoRemove PR_ATOMIC flag in ng_btsocket_protosw[] for BLUETOOTH_PROTO_RFCOMM
emax [Wed, 6 Apr 2005 20:54:05 +0000 (20:54 +0000)]
Remove PR_ATOMIC flag in ng_btsocket_protosw[] for BLUETOOTH_PROTO_RFCOMM
protocol. RFCOMM is a SOCK_STREAM protocol not SOCK_SEQPACKET. This was a
serious bug caused by cut-and-paste. I'm surprised it did not bite me before.
Dunce hat goes to me.

MFC after: 3 days

19 years agoNew release notes:
hrs [Wed, 6 Apr 2005 19:58:22 +0000 (19:58 +0000)]
New release notes:
debug.mpsafevm=1 by default on sparc64,
ixgb(4) MPSAFE,
core dump of natd(8) w/ -reverse fixed,
libarchive zip support improved, and
rexecd(8) root login problem fixed.

19 years agoIn ng_btsocket_rfcomm_receive_frame() correctly set length variable when
emax [Wed, 6 Apr 2005 18:55:58 +0000 (18:55 +0000)]
In ng_btsocket_rfcomm_receive_frame() correctly set length variable when
EA bit is set in hdr->length (16-bit length). This currently has no effect
on the rest of the code. It just fixes the debug message.

MFC After: 3 weeks

19 years agoBump &release.manpath.netbsd;.
hrs [Wed, 6 Apr 2005 18:30:34 +0000 (18:30 +0000)]
Bump &release.manpath.netbsd;.

19 years agoNew release notes: FreeBSD-SA-05:03.amd64.
hrs [Wed, 6 Apr 2005 18:28:54 +0000 (18:28 +0000)]
New release notes: FreeBSD-SA-05:03.amd64.

19 years agoInclude gettytab.h before extern.h so that the declarations of struct
stefanf [Wed, 6 Apr 2005 17:42:24 +0000 (17:42 +0000)]
Include gettytab.h before extern.h so that the declarations of struct
gettyflags, gettynums and gettystrs are available.

19 years ago- we are no longer shareing any resources to be locked between
ume [Wed, 6 Apr 2005 15:36:34 +0000 (15:36 +0000)]
- we are no longer shareing any resources to be locked between
  getaddrinfo(3) and getipnodeby*(3).
- use definitions in reentrant.h.
- remove obsolete comment.

19 years agoMUTEX_INITIALIZER should be used instead of
ume [Wed, 6 Apr 2005 15:16:04 +0000 (15:16 +0000)]
MUTEX_INITIALIZER should be used instead of
PTHREAD_MUTEX_INITIALIZER, here.

19 years agoWhen a packet has been reinjected into ipfw(4) after dummynet(4) processing
glebius [Wed, 6 Apr 2005 14:00:33 +0000 (14:00 +0000)]
When a packet has been reinjected into ipfw(4) after dummynet(4) processing
we have a non-NULL args.rule. If the same packet later is subject to "tee"
rule, its original is sent again into ipfw_chk() and it reenters at the same
rule. This leads to infinite loop and frozen router.

Assign args.rule to NULL, any time we are going to send packet back to
ipfw_chk() after a tee rule. This is a temporary workaround, which we
will leave for RELENG_5. In HEAD we are going to make divert(4) save
next rule the same way as dummynet(4) does.

PR: kern/79546
Submitted by: Oleg Bulyzhin
Reviewed by: maxim, andre
MFC after: 3 days

19 years agoRemove unique id field which is no longer used by debugger.
davidxu [Wed, 6 Apr 2005 13:57:31 +0000 (13:57 +0000)]
Remove unique id field which is no longer used by debugger.

19 years agoRemove debug symbol from installed library, one can always
davidxu [Wed, 6 Apr 2005 13:48:11 +0000 (13:48 +0000)]
Remove debug symbol from installed library, one can always
use compiled version in libthr directory.

19 years agoseparate gai_strerror(3) from getaddrinfo.c.
ume [Wed, 6 Apr 2005 12:45:51 +0000 (12:45 +0000)]
separate gai_strerror(3) from getaddrinfo.c.

Requested by: phantom

19 years agoAdd support for controllers that doesn't have the usual taskfile
sos [Wed, 6 Apr 2005 10:22:56 +0000 (10:22 +0000)]
Add support for controllers that doesn't have the usual taskfile
layout.  No functional changes.

19 years agoConstify hexdump() harder.
phk [Wed, 6 Apr 2005 10:14:13 +0000 (10:14 +0000)]
Constify hexdump() harder.

19 years ago - Remove dead code.
jeff [Wed, 6 Apr 2005 10:11:14 +0000 (10:11 +0000)]
 - Remove dead code.

19 years ago - Assert that the bufobj matches in flushbuflists. I still haven't gotten
jeff [Wed, 6 Apr 2005 06:49:46 +0000 (06:49 +0000)]
 - Assert that the bufobj matches in flushbuflists.  I still haven't gotten
   to root cause on exactly how this happens.
 - If the assert is disabled, we presently try to handle this case, but the
   BUF_UNLOCK was missing.  Thus, if this condition ever hit we would leak
   a buf lock.

Many thanks to Peter Holm for all his help in finding this bug.  He really
put more effort into it than I did.

19 years agoA number of improvements to ZIP support.
kientzle [Wed, 6 Apr 2005 04:19:30 +0000 (04:19 +0000)]
A number of improvements to ZIP support.
  * Handles entries with compressed size >2GB (signed/unsigned cleanup)
  * Handles entries with compressed size >4GB ("ZIP64" extension)
  * Handles Unix extensions (ctime, atime, mtime, mode, uid, etc)
  * Format-specific "skip data" override allows ZIP reader to skip
    entries without decompressing them, which makes "tar -t"
    a lot faster.
  * Handles "length-at-end" entries generated by, e.g., "zip -r - foo"

Many thanks to: Dan Nelson, who contributed the code and test files for
   the first three items above and suggested the fourth.

19 years agoMerge from RELENG_5: invert WITH_LIB32 into NO_LIB32 so that we build the
peter [Wed, 6 Apr 2005 01:55:43 +0000 (01:55 +0000)]
Merge from RELENG_5: invert WITH_LIB32 into NO_LIB32 so that we build the
32 bit libraries by default.  Define NO_LIB32 in make.conf if you do not
want this.

19 years agoFix the lib32 build for amd64 after v1.238 of src/include/Makefile (imp).
peter [Wed, 6 Apr 2005 01:41:08 +0000 (01:41 +0000)]
Fix the lib32 build for amd64 after v1.238 of src/include/Makefile (imp).
That change exposed the fact that I'd forgotten to set $MACHINE here.

19 years agoFully initialize the required TSS fields so that the io permission
cperciva [Wed, 6 Apr 2005 01:05:51 +0000 (01:05 +0000)]
Fully initialize the required TSS fields so that the io permission
bitmap is set correctly.

Patch from: peter
Security: FreeBSD-SA-05:03.amd64