]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
17 years agoUse C comments since we now preprocess these files with CPP.
deischen [Sun, 29 Apr 2007 14:05:22 +0000 (14:05 +0000)]
Use C comments since we now preprocess these files with CPP.

17 years agoNumber the private version namespace in case we ever want to have
deischen [Sun, 29 Apr 2007 14:03:45 +0000 (14:03 +0000)]
Number the private version namespace in case we ever want to have
compatibility between versions (as we do for the public namespace).

17 years agoSymbol version librt.
deischen [Sun, 29 Apr 2007 14:01:45 +0000 (14:01 +0000)]
Symbol version librt.

17 years agoUse CPP to preprocess version map files so we can conditionalize symbols.
deischen [Sun, 29 Apr 2007 14:00:58 +0000 (14:00 +0000)]
Use CPP to preprocess version map files so we can conditionalize symbols.

17 years agoNew release notes:
brueffer [Sun, 29 Apr 2007 11:32:25 +0000 (11:32 +0000)]
New release notes:
- edsc(4) added
- pmcstat(4) -c and -t flags, defaults changed
- rpcbind -h and -6 flags

Modified release notes:
- Moved pmcstat information from kernel to userland section
- MSI-X supported as well, remove ref to pci(4) manpage, which is
  different from the kernel's PCI code
- rpc.lockd/rpc.statd entry moved to the right place

17 years agoFix two use-after-free cases.
pjd [Sun, 29 Apr 2007 00:41:29 +0000 (00:41 +0000)]
Fix two use-after-free cases.

17 years agoMinor correction: s/sg/scsi_sg/
bmah [Sat, 28 Apr 2007 14:27:30 +0000 (14:27 +0000)]
Minor correction:  s/sg/scsi_sg/

17 years agoNew release note: FreeBSD-SA-07:03.ipv6.
bmah [Sat, 28 Apr 2007 13:49:06 +0000 (13:49 +0000)]
New release note:  FreeBSD-SA-07:03.ipv6.

17 years agoComplete removal of restriction about overlaps to rman_manage_region:
jmg [Sat, 28 Apr 2007 07:37:49 +0000 (07:37 +0000)]
Complete removal of restriction about overlaps to rman_manage_region:
remove comment and man page verbage...

Document return values for rman_init and rman_manage_region..

MFC after: 1 week

17 years agoAdd some more examples. It always takes me a long time to find the S
brian [Fri, 27 Apr 2007 18:23:32 +0000 (18:23 +0000)]
Add some more examples.  It always takes me a long time to find the S
modifier (-t is ignored without it).

MFC after: 1 week

17 years ago- Add my mentor stas and my comentor itetcu.
araujo [Fri, 27 Apr 2007 18:19:59 +0000 (18:19 +0000)]
- Add my mentor stas and my comentor itetcu.

Approved by: itetcu (comentor)

17 years ago- Added entry for Marcelo S. Araujo.
araujo [Fri, 27 Apr 2007 18:17:41 +0000 (18:17 +0000)]
- Added entry for Marcelo S. Araujo.

Approved by: itetcu (comentor)

17 years agoOnly schedule the xpt_finishconfig_task once. This fixes some potential
scottl [Fri, 27 Apr 2007 14:23:05 +0000 (14:23 +0000)]
Only schedule the xpt_finishconfig_task once.  This fixes some potential
panics on boot.

17 years ago-Fix an mbuf leak caused by a cut&paste bug where the small ring's mbufs
gallatin [Fri, 27 Apr 2007 13:11:50 +0000 (13:11 +0000)]
-Fix an mbuf leak caused by a cut&paste bug where the small ring's mbufs
  were never freed, but the big ring was freed twice.
-Don't supply rx hw csums for frames which are padded beyond the
 length specified in the ip header.  If the padding is non-zero,
 the hw csum will be incorrect for such frames.

Sponsored by: Myricom

17 years agoMFP4: Enhancements to pmcstat(8):
jkoshy [Fri, 27 Apr 2007 12:09:31 +0000 (12:09 +0000)]
MFP4: Enhancements to pmcstat(8):

- Allow the "-t" option to take a regular expression naming command
  line processes to attach process PMCs to.

- Update the manual page and add an example showing the use of the
  new functionality.

- Update the (c) year on the affected source files.

17 years agoIncrease the verbosity of the warning given when this file is used as
benjsc [Fri, 27 Apr 2007 11:19:05 +0000 (11:19 +0000)]
Increase the verbosity of the warning given when this file is used as
part of the old tty system - helping the user to know how to transition to
the new tty api.

Approved by: mlaier (Mentor)

PR: kern/110667

17 years agoA forced follow-up commit for the MSG_PEEK removal just to note that...
roam [Fri, 27 Apr 2007 10:30:31 +0000 (10:30 +0000)]
A forced follow-up commit for the MSG_PEEK removal just to note that...

MFC after: 1 week

17 years agoRemove the MSG_PEEK flag from the documentation of the send(2) syscall -
roam [Fri, 27 Apr 2007 10:28:30 +0000 (10:28 +0000)]
Remove the MSG_PEEK flag from the documentation of the send(2) syscall -
it is only relevant to receiving data from sockets, not to sending.

PR: 109667
Submitted by: Jari Kirma <kirma@cs.hut.fi>
Approved by: wollman

17 years agoPut the scheme (APM, GPT, etc) in the XML.
marcel [Fri, 27 Apr 2007 05:58:10 +0000 (05:58 +0000)]
Put the scheme (APM, GPT, etc) in the XML.

17 years agoNote core's interest in coordinating major changes to our usb code base.
imp [Thu, 26 Apr 2007 21:30:16 +0000 (21:30 +0000)]
Note core's interest in coordinating major changes to our usb code base.

17 years agomust byte swap key rsc for big-endian systems
sam [Thu, 26 Apr 2007 20:19:05 +0000 (20:19 +0000)]
must byte swap key rsc for big-endian systems

Obtained from: netbsd
MFC after: 1 week

17 years agoAvoid a lot of code duplication by using kern_open() to open /dev/null
jhb [Thu, 26 Apr 2007 18:01:19 +0000 (18:01 +0000)]
Avoid a lot of code duplication by using kern_open() to open /dev/null
in fdcheckstd() instead of a stripped down version of kern_open()'s code.

MFC after: 1 week
Reviewed by: cperciva

17 years agoMFp4: Optimize mappedwrite() and mappedread() functions to write/read as much
pjd [Thu, 26 Apr 2007 17:07:50 +0000 (17:07 +0000)]
MFp4: Optimize mappedwrite() and mappedread() functions to write/read as much
non-mapped data as possible at once and not page-by-page. Which this change we
combain I/Os, but also saves many VM_OBJECT_UNLOCK()/VM_OBJECT_LOCK()
operations.

Simple 'fsx -l 33554432 -o 524288 -N 10000 /tank/fsx' test shows ~23%
performance increase.

17 years agoUse the same timeout parameters for BIO_FLUSH as with the other commands.
roberto [Thu, 26 Apr 2007 12:59:20 +0000 (12:59 +0000)]
Use the same timeout parameters for BIO_FLUSH as with the other commands.

This workaround the problem in Parallels/VMWare where the emulated drivers are
slower, especially with ATA_FLUSHCACHE.  The problem appears much more
frequently with ZFS which use it a lot more.

Approved: sos, pjd

17 years ago- Always try to write one whole page at a time.
pjd [Thu, 26 Apr 2007 12:58:17 +0000 (12:58 +0000)]
- Always try to write one whole page at a time.
- vm_page_undirty() is enough (instead of vm_page_set_validclean()), but it has
  to be called before we write the data in case someone makes page dirty after
  our write, but before our vm_page_undirty() call.
- Always dmu_write, not matter if uiomove() succeeded, because it could
  partially be ok and we would lose some changes.

All good ideas from: ups

17 years agoMFV: Free znodes immediatelly, allowing the ARC to hold onto less memory.
pjd [Thu, 26 Apr 2007 10:08:54 +0000 (10:08 +0000)]
MFV: Free znodes immediatelly, allowing the ARC to hold onto less memory.

Full description at: http://bugs.opensolaris.org/view_bug.do?bug_id=6543706

17 years agoMFV: Functions name change.
pjd [Thu, 26 Apr 2007 09:38:20 +0000 (09:38 +0000)]
MFV: Functions name change.

17 years agoAllow the dounmount() to proceed even for doomed coveredvp.
kib [Thu, 26 Apr 2007 08:56:56 +0000 (08:56 +0000)]
Allow the dounmount() to proceed even for doomed coveredvp.

In dounmount(), before or while vn_lock(coveredvp) is called, coveredvp
vnode may be VI_DOOMED due to one of the following:
- other thread finished unmount and vput()ed it, and vnode was chosen
  for recycling, while vn_lock() slept;
- forced unmount of the coveredvp->v_mount fs.
In the first case, next check for changed v_mountedhere or mnt_gen counter
would be successfull. In the second case, the unmount shall be allowed.

Submitted by: sobomax
MFC after: 2 weeks

17 years agoDefault to using a single queue as this is currently the only way to achieve
kmacy [Thu, 26 Apr 2007 08:38:00 +0000 (08:38 +0000)]
Default to using a single queue as this is currently the only way to achieve
line rate

17 years agoDisable mbuf chain collapsing - it is currently causing an mbuf leak
kmacy [Thu, 26 Apr 2007 08:36:59 +0000 (08:36 +0000)]
Disable mbuf chain collapsing - it is currently causing an mbuf leak

17 years agoRemove some code from vmspace_fork() that became redundant after
alc [Thu, 26 Apr 2007 05:48:17 +0000 (05:48 +0000)]
Remove some code from vmspace_fork() that became redundant after
revision 1.334 modified _vm_map_init() to initialize the new vm map's
flags to zero.

17 years agoVarious fixes to the NFS Directio support.
jhb [Wed, 25 Apr 2007 20:34:55 +0000 (20:34 +0000)]
Various fixes to the NFS Directio support.
- Fix for a bug where a close would not wait for all (directio)
  dirty buffers to drain. The nfsnode was not marked NMODIFIED
  when there were directio dirtied buffers pending, causing this.
- No reason to vhold/vrele the vp when enqueueing DirectIO requests
  for the nfsiods. The vnode can't really go way since the close
  has to wait for these requests to drain.

MFC after: 1 week
Submitted by: mohans

17 years agoDisable C1 Enhanced mode on AMD K8 Family Revision F and above to keep
ariff [Wed, 25 Apr 2007 19:58:42 +0000 (19:58 +0000)]
Disable C1 Enhanced mode on AMD K8 Family Revision F and above to keep
local APIC timer alive.

Reviewed by: jhb
PR: i386/104678
MFC after: 3 days

17 years agoForced commit to add more comment to:
ups [Wed, 25 Apr 2007 18:10:44 +0000 (18:10 +0000)]
Forced commit to add more comment to:

1.583  src/sys/amd64/amd64/pmap.c
1.588  src/sys/i386/i386/pmap.c

Invalidate all TLBs and page structure caches that may reference a page
for page walk acceleration before releasing it to the free list.

This is required for CPUs implementing page structure caches as described
in the Intel application note:
"TLBs, Paging-Structure Caches, and Their Invalidation"
 (Document Number: 317080-001)

Reviewed by:    Siddha Suresh (Intel), alc@, peter@

17 years agoUse a tighter check to see if a resource allocation request is for a
jhb [Wed, 25 Apr 2007 16:22:18 +0000 (16:22 +0000)]
Use a tighter check to see if a resource allocation request is for a
specific request and thus should first try to be allocated from the
sys_resource pool.  This avoids using the sys_resource pool for wildcard
requests that have bounded ranges coming from cbb(4) and Host-PCI pcib(4)
drivers.

Tested by: Andrea Bittau <a.bittau of cs.ucl.ac.uk fame>
Sleuthing by: Andrea Bittau as well

17 years agoAdd static build depends for ng_deflate, ng_nat and ng_sppp.
mav [Wed, 25 Apr 2007 15:30:17 +0000 (15:30 +0000)]
Add static build depends for ng_deflate, ng_nat and ng_sppp.

Approved by: glebius (mentor)

17 years ago- HT 2.00b added a new flag to the MSI mapping HT capability to indicate
jhb [Wed, 25 Apr 2007 14:45:46 +0000 (14:45 +0000)]
- HT 2.00b added a new flag to the MSI mapping HT capability to indicate
  that the MSI mapping window is fixed at 0xfee00000 and the capability
  does not include two more dwords used to program the address.  Supporting
  this mostly results in quieting spurious warnings during boot about
  non-default MSI mapping windows.
- HT 2.00b also added a new HT capability type, so support that in pciconf.

MFC after: 3 days
Tested by: jmg

17 years agoadd myself.
nemoliu [Wed, 25 Apr 2007 11:59:10 +0000 (11:59 +0000)]
add myself.

Approved by: delphij (mentor)

17 years agoWork around GMAC hardware hang bug.
yongari [Wed, 25 Apr 2007 01:20:31 +0000 (01:20 +0000)]
Work around GMAC hardware hang bug.
It seems that valid pause frames(Tx flow control) cause GMAC to hang
such that it resulted in watchdog timeout. As a work around don't
flush Rx MAC FIFO if we've received pause frames.

Tested by: Harald Schmalzbauer (h DOT schmalzbauer AT omnisec DOT de)

17 years agoDisable TSO support.
yongari [Wed, 25 Apr 2007 01:17:44 +0000 (01:17 +0000)]
Disable TSO support.
Under certain circumtances, if TSO is active, Yukon II generates
corrupted IP packets. All corrupted IP packets I noticed were the the
last segmented packet in a TSO request. The corrupted packet resulted
in retransmission of the damaged packet which in turn decreased network
performance dramatically.
Unfortunately it seems that there is no way to workaround this bug
as TSO is completely handled in hardware. Disable TSO until we find a
working workaround or a new silicon revision that doesn't have this
hardware bug.

17 years agoFix TCP header size calculation logic which is used for setting
yongari [Wed, 25 Apr 2007 01:13:38 +0000 (01:13 +0000)]
Fix TCP header size calculation logic which is used for setting
TSO MTU.

17 years agoUtilize led_create_state in order to preserve the status of the ThinkLight
markus [Tue, 24 Apr 2007 23:09:37 +0000 (23:09 +0000)]
Utilize led_create_state in order to preserve the status of the ThinkLight
on driver attach.

PR: kern/112044
Submitted by: Henrik Brix Andersen <henrik@brixandersen.dk>
Approved by: emax (mentor) (earlier version)

17 years agoFix the triple fault used as a last resort during a reboot to actually
jhb [Tue, 24 Apr 2007 21:17:45 +0000 (21:17 +0000)]
Fix the triple fault used as a last resort during a reboot to actually
fault.  The previous method zero'd out the page tables, invalidated the
TLB, and then entered a spin loop.  The idea was that the instruction after
the TLB invalidate would result in a page fault and the page fault and
subsequent double fault wouldn't be able to determine the physical page
for their fault handlers' first instruction.  This stopped working when
PGE (PG_G PTE/PDE bit) support was added as a TLB invalidate via %cr3
reload doesn't clear TLB entries with PG_G set.  Thus, the CPU was still
able to map the virtual address for the spin loop and happily performed
its infinite loop.

The triple fault now uses a much more deterministic sledge-hammer approach
to generate a triple fault.  First, the IDT descriptor is set to point to
an empty IDT, so any interrupts (including a double fault) will instantly
fault.  Second, we trigger a int 3 breakpoint to force an interrupt and
kick off a triple fault.

MFC after: 3 days

17 years agoMFi386: Attempt to reset the machine using the Reset Control register and
jhb [Tue, 24 Apr 2007 20:06:36 +0000 (20:06 +0000)]
MFi386: Attempt to reset the machine using the Reset Control register and
Fast A20 and Init register if the keyboard reset doesn't work before
resorting to a triple fault.

17 years agoZIL (ZFS Intent Log) can be safely turned on and off at run time, because
pjd [Tue, 24 Apr 2007 19:02:51 +0000 (19:02 +0000)]
ZIL (ZFS Intent Log) can be safely turned on and off at run time, because
it is only used when dataset is beeing mounted to decide if log should also
be opened.

17 years agoMFp4: Now that ZFS can use FreeBSD's namecache, turn it off by default and
pjd [Tue, 24 Apr 2007 16:59:20 +0000 (16:59 +0000)]
MFp4: Now that ZFS can use FreeBSD's namecache, turn it off by default and
turn off DNLC, but don't remove DNLC yet just in case.

17 years agoRetire /usr/share/examples/netgraph/bluetooth/rc.bluetooth.
emax [Tue, 24 Apr 2007 16:58:54 +0000 (16:58 +0000)]
Retire /usr/share/examples/netgraph/bluetooth/rc.bluetooth.

MFC after: 1 week

17 years agoMFp4: Rearange the code so vobject is destroyed from reclaim() method like
pjd [Tue, 24 Apr 2007 16:57:53 +0000 (16:57 +0000)]
MFp4: Rearange the code so vobject is destroyed from reclaim() method like
in all other file system on FreeBSD (instead from inactive() method).

A nice side-effect of this change, except that it speedups file system
when mmaped file are often open/closed, is that it makes FreeBSD's
namecache work:)

17 years agoMFp4: Once page is written successfully, we should clear the dirty bits.
pjd [Tue, 24 Apr 2007 16:53:01 +0000 (16:53 +0000)]
MFp4: Once page is written successfully, we should clear the dirty bits.
This fixes slow operations on mmaped files, because without this fix,
pages were written to disk multiple times.

If one is looking for even greater speed up for such operation, he should
disable ZIL (by setting vfs.zfs.zil_disable to 1 in /boot/loader.conf).
Disabling ZIL makes fsx run ~9 times faster.

17 years agoMFp4: Reduce diff against vendor.
pjd [Tue, 24 Apr 2007 16:49:01 +0000 (16:49 +0000)]
MFp4: Reduce diff against vendor.

17 years agoMFp4: We have stronger 'lock already initialized' check now, so we can
pjd [Tue, 24 Apr 2007 16:45:42 +0000 (16:45 +0000)]
MFp4: We have stronger 'lock already initialized' check now, so we can
reduce diff against the vendor by removing bzero of this mutex.

17 years agoUpdate comments for the 0xcf9 and 0x92 reset methods to explain what we are
jhb [Tue, 24 Apr 2007 15:16:27 +0000 (15:16 +0000)]
Update comments for the 0xcf9 and 0x92 reset methods to explain what we are
actually doing and what the various bits mean.

17 years agoConfiguration ROM length should be unsigned.
simokawa [Tue, 24 Apr 2007 12:15:05 +0000 (12:15 +0000)]
Configuration ROM length should be unsigned.

MFC: 1 week

17 years ago- Add myself as miwi's mentee.
trasz [Tue, 24 Apr 2007 12:06:59 +0000 (12:06 +0000)]
- Add myself as miwi's mentee.

Approved by: miwi (mentor)

17 years agoHaving finished with vlan(4) for today, touch .Dd.
yar [Tue, 24 Apr 2007 11:48:49 +0000 (11:48 +0000)]
Having finished with vlan(4) for today, touch .Dd.

17 years agoWe shouldn't say that most Ethernet drivers don't support long frames,
yar [Tue, 24 Apr 2007 11:40:52 +0000 (11:40 +0000)]
We shouldn't say that most Ethernet drivers don't support long frames,
as it's no longer true.

17 years ago"Long frame" is the well-known term found in h/w documentation
yar [Tue, 24 Apr 2007 11:35:47 +0000 (11:35 +0000)]
"Long frame" is the well-known term found in h/w documentation
from several vendors, so prefer it over other synonyms.

17 years agoNow that we list hardware that supports vlan(4) natively,
yar [Tue, 24 Apr 2007 11:22:27 +0000 (11:22 +0000)]
Now that we list hardware that supports vlan(4) natively,
we don't need to repeat that for each device listed.

17 years agoNuke unnecessary setting of ural(4)'s security registers. ural(4) only
sephe [Tue, 24 Apr 2007 11:18:55 +0000 (11:18 +0000)]
Nuke unnecessary setting of ural(4)'s security registers.  ural(4) only
supports software encrypt/decrypt.

The nuked code itself is quite problematic, as pointed out by sam@ ---
wk->wk_keyix should be replaced by the loop count.

Tested with WEP/TKIP/CCMP/no-protection.

Approved by: sam@ (mentor)
Noticed by: Hans Petter Selasky <hselasky@c2i.net>

17 years agoxl(4) can support long frames on all chip revisions now.
yar [Tue, 24 Apr 2007 11:06:35 +0000 (11:06 +0000)]
xl(4) can support long frames on all chip revisions now.

17 years agode(4) ceased to support the BIG_PACKET hack.
yar [Tue, 24 Apr 2007 11:03:53 +0000 (11:03 +0000)]
de(4) ceased to support the BIG_PACKET hack.

17 years agoDisable nesting of BOP_BDFLUSH(). VOP_FSYNC() call in bdwrite() could
kib [Tue, 24 Apr 2007 10:59:21 +0000 (10:59 +0000)]
Disable nesting of BOP_BDFLUSH(). VOP_FSYNC() call in bdwrite() could
result in bdwrite() being reentered, thus causing infinite recursion.

Reported and tested by: Peter Holm
Reviewed by: tegge
MFC after: 2 weeks

17 years agotl(4) in fact has no signs of long frame support.
yar [Tue, 24 Apr 2007 10:51:48 +0000 (10:51 +0000)]
tl(4) in fact has no signs of long frame support.

17 years agoAvoid false assertion on transmit and delayed ack timeout with enabled invariants.
mav [Tue, 24 Apr 2007 10:50:25 +0000 (10:50 +0000)]
Avoid false assertion on transmit and delayed ack timeout with enabled invariants.
Replace callout_pending() by callout_active() to remove race window.

Reviewed by: archie
Approved by: glebius (mentor)

17 years agovr(4) gained VLAN_MTU support.
yar [Tue, 24 Apr 2007 10:49:56 +0000 (10:49 +0000)]
vr(4) gained VLAN_MTU support.

17 years agoAdd a few missing "&merged;" markers:
yar [Tue, 24 Apr 2007 08:58:09 +0000 (08:58 +0000)]
Add a few missing "&merged;" markers:

- arp -a -d -i foo
- ifconfig -k
- ifconfig -tunnel
- ifconfig -vlandev [w/o the useless argument]

17 years agoBump .Dd
phk [Tue, 24 Apr 2007 07:10:10 +0000 (07:10 +0000)]
Bump .Dd

(which seems to have been redefined by the doc-mafia while I wasn't
paying attention :-)

17 years agoManpage update for extended led(4) api
phk [Tue, 24 Apr 2007 06:30:23 +0000 (06:30 +0000)]
Manpage update for extended led(4) api

17 years agoIf compressed length is zero, return a zero-filled block.
simokawa [Tue, 24 Apr 2007 06:30:06 +0000 (06:30 +0000)]
If compressed length is zero, return a zero-filled block.

MFC after: 1 week

17 years agoGet endianess right.
phk [Tue, 24 Apr 2007 06:29:27 +0000 (06:29 +0000)]
Get endianess right.

Why would an XML library need to know about endianess anyway ??

Prodded by, long time ago: ahze

17 years agoTweak printf string.
jhb [Mon, 23 Apr 2007 22:53:01 +0000 (22:53 +0000)]
Tweak printf string.

17 years agoRemove release note about recompiling milters.
gshapiro [Mon, 23 Apr 2007 22:48:13 +0000 (22:48 +0000)]
Remove release note about recompiling milters.

17 years agoThis commit was generated by cvs2svn to compensate for changes in r168993,
gshapiro [Mon, 23 Apr 2007 22:32:30 +0000 (22:32 +0000)]
This commit was generated by cvs2svn to compensate for changes in r168993,
which included commits to RCS files with non-trunk default branches.

17 years agoFor completeness, also copy over the Copyright year changes from the
gshapiro [Mon, 23 Apr 2007 22:32:30 +0000 (22:32 +0000)]
For completeness, also copy over the Copyright year changes from the
sendmail.org repo on these modified files.

17 years agoForced commit to .mc files to force creation of new .cf files for mergemaster.
gshapiro [Mon, 23 Apr 2007 22:23:54 +0000 (22:23 +0000)]
Forced commit to .mc files to force creation of new .cf files for mergemaster.

17 years agoAdd a new note to revoke the 20070408 note. Is is no longer necessary
gshapiro [Mon, 23 Apr 2007 22:15:07 +0000 (22:15 +0000)]
Add a new note to revoke the 20070408 note.  Is is no longer necessary
to recompile milters.

MFC after: 4 days

17 years agoBring in sendmail.org code from the future 8.14.2 release which restores
gshapiro [Mon, 23 Apr 2007 22:11:27 +0000 (22:11 +0000)]
Bring in sendmail.org code from the future 8.14.2 release which restores
ABI compatibility to users of the libmilter.so shared library.

17 years agoThis commit was generated by cvs2svn to compensate for changes in r168988,
gshapiro [Mon, 23 Apr 2007 22:11:27 +0000 (22:11 +0000)]
This commit was generated by cvs2svn to compensate for changes in r168988,
which included commits to RCS files with non-trunk default branches.

17 years agoMostly-cosmetic fixes in low-memory warning messages:
bmah [Mon, 23 Apr 2007 21:52:14 +0000 (21:52 +0000)]
Mostly-cosmetic fixes in low-memory warning messages:

o Fix linewrap issues.

o Fix two typos (s/Recomended/Recommended/ and s/tunning/tuning/)

o Remove a couple of extra instances of the word "of".

o Update names of kmem_size variables.

Approved by: pjd

17 years agoo Fix INP lock leak in the minttl case
andre [Mon, 23 Apr 2007 19:41:47 +0000 (19:41 +0000)]
o Fix INP lock leak in the minttl case
o Remove indirection in the decision of unlocking inp
o Further annotation of locking in tcp_input()

17 years agoFix old locking bugs which were revealed when pseudofs was made MPSAFE.
des [Mon, 23 Apr 2007 19:17:01 +0000 (19:17 +0000)]
Fix old locking bugs which were revealed when pseudofs was made MPSAFE.

Submitted by: tegge

17 years agoRemove obsolete headers. Move kernel specific headers under #ifdefs
scottl [Mon, 23 Apr 2007 18:01:44 +0000 (18:01 +0000)]
Remove obsolete headers.  Move kernel specific headers under #ifdefs

17 years agoGlobal xmit stats calculation fix.
mav [Mon, 23 Apr 2007 15:25:14 +0000 (15:25 +0000)]
Global xmit stats calculation fix.

Approved by: glebius (mentor)

17 years agoAdd au_to_zonename.3 alias for au_token.3.
rwatson [Mon, 23 Apr 2007 14:46:59 +0000 (14:46 +0000)]
Add au_to_zonename.3 alias for au_token.3.

Obtained from: TrustedBSD Project

17 years agoAudit pathnames looked up in swapon(2) and swapoff(2).
rwatson [Mon, 23 Apr 2007 14:41:34 +0000 (14:41 +0000)]
Audit pathnames looked up in swapon(2) and swapoff(2).

MFC after: 2 weeks
Obtained from: TrustedBSD Project

17 years agoToo much diff reduction. 'cmd' has to be u_long.
pjd [Mon, 23 Apr 2007 13:47:49 +0000 (13:47 +0000)]
Too much diff reduction. 'cmd' has to be u_long.

Reported by: delphij

17 years agoRename mac*devfsdirent*() to mac*devfs*() to synchronize with SEDarwin,
rwatson [Mon, 23 Apr 2007 13:36:54 +0000 (13:36 +0000)]
Rename mac*devfsdirent*() to mac*devfs*() to synchronize with SEDarwin,
where similar data structures exist to support devfs and the MAC
Framework, but are named differently.

Obtained from: TrustedBSD Project
Sponsored by: SPARTA, Inc.

17 years agoApply variable name normalization to MAC policies: adopt global conventions
rwatson [Mon, 23 Apr 2007 13:15:23 +0000 (13:15 +0000)]
Apply variable name normalization to MAC policies: adopt global conventions
for the naming of variables associated with specific data structures.

Obtained from: TrustedBSD Project

17 years agoCorrect typo.
pjd [Mon, 23 Apr 2007 12:53:00 +0000 (12:53 +0000)]
Correct typo.

17 years agoMake it possible to specify an initial state for the LED.
phk [Mon, 23 Apr 2007 12:42:15 +0000 (12:42 +0000)]
Make it possible to specify an initial state for the LED.

Requested by: Henrik Brix Andersen <henrik@brixandersen.dk>
PR: 112008

17 years agoAdd VLAN capability.
phk [Mon, 23 Apr 2007 12:19:02 +0000 (12:19 +0000)]
Add VLAN capability.

Submitted by: Slawa Olhovchenkov <slw@zxy.spb.ru>

17 years agoImprove reporting in recoverdisk a good deal.
phk [Mon, 23 Apr 2007 12:17:27 +0000 (12:17 +0000)]
Improve reporting in recoverdisk a good deal.

Submitted by: Ulrich Spoerlein <uspoerlein@gmail.com>
PR: 111630

17 years agoInsert explicit space between the output fields to prevent them
yar [Mon, 23 Apr 2007 11:43:22 +0000 (11:43 +0000)]
Insert explicit space between the output fields to prevent them
from running together when a field overflows.

MFC after: 1 week

17 years agoTurn off route header processing for now due to issues pointed out
gnn [Mon, 23 Apr 2007 09:32:04 +0000 (09:32 +0000)]
Turn off route header processing for now due to issues pointed out
by Philippe Biondi and Arnaud Ebalard.  This is a temporary fix
until more discussion can be had on the exact risks involved in
allowing source routing in IPv6

Submitted by: itojun
Reviewed by: jinmei
MFC after: 1 day

17 years ago1)Make it possible for rpcbind(8) to bind TCP listening socket to an IP
matteo [Mon, 23 Apr 2007 07:09:25 +0000 (07:09 +0000)]
1)Make it possible for rpcbind(8) to bind TCP listening socket to an IP
other than INADDR_ANY.

2) Add the -6 option to specify "IPv6 only".

Glanced at by: bms
Requested by: bms [2]
PR: bin/84494 [1]
Approved by: silence from maintainer (~2 weeks) [1]
MFC after: 2 weeks

17 years agoAdd synchronization. Eliminate the acquisition and release of Giant.
alc [Mon, 23 Apr 2007 06:12:24 +0000 (06:12 +0000)]
Add synchronization.  Eliminate the acquisition and release of Giant.

Reviewed by: tegge

17 years agomake dev.ath.N.ledpin have an immediate effect
sam [Mon, 23 Apr 2007 05:57:06 +0000 (05:57 +0000)]
make dev.ath.N.ledpin have an immediate effect

PR: kern/111810
Submitted by: Henrik Brix Andersen <henrik@brixandersen.dk>
MFC after: 1 week

17 years agoo fix a buffer overflow in save_key() that occurs with 104-bit wep
sam [Mon, 23 Apr 2007 05:51:18 +0000 (05:51 +0000)]
o fix a buffer overflow in save_key() that occurs with 104-bit wep
o make some variables parameters (frequency of crack, and maximum channel)
o try to spoof mac if association fails

Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>

17 years agoAdd a reference and lock the target thread when setting its name.
deischen [Mon, 23 Apr 2007 03:36:14 +0000 (03:36 +0000)]
Add a reference and lock the target thread when setting its name.

Submitted by: davidxu (via libthr)

17 years agoWhen generating the version map file, order versions oldest
deischen [Mon, 23 Apr 2007 03:24:33 +0000 (03:24 +0000)]
When generating the version map file, order versions oldest
first to make it easier for rtld to choose the oldest version
of a symbol.

Sumbitted by: kan