Re: svn commit: r192908 - in head: share/man/man9 sys/conf sys/kern sys/sys

2009-05-29 Thread Joerg Sonnenberger
On Thu, May 28, 2009 at 07:28:45PM +0200, Dag-Erling Sm?rgrav wrote: > "Bruce A. Mah" writes: > > My understanding is that we do this to let groff manage the whitespace > > between sentences. > > Groff doesn't need anyone's help to manage the whitespace between > sentences... A short example. An

svn commit: r193021 - head/contrib/netcat

2009-05-29 Thread Xin LI
Author: delphij Date: Fri May 29 07:18:31 2009 New Revision: 193021 URL: http://svn.freebsd.org/changeset/base/193021 Log: Add an EXIT STATUS section to the manual page. Currently, nc(1) does not follow sysexits(3), and returns 1 for all error cases. PR: docs/126451 Modified:

svn commit: r193022 - head/sbin/dump

2009-05-29 Thread Brian Somers
Author: brian Date: Fri May 29 07:26:44 2009 New Revision: 193022 URL: http://svn.freebsd.org/changeset/base/193022 Log: Make dump -W show the level correctly. PR: 129110 Submitted by: Mike Voorhis MFC after:3 weeks Modified: head/sbin/dump/optr.c Modified: head/sbin/

svn commit: r193023 - head/lib/libc/resolv

2009-05-29 Thread Xin LI
Author: delphij Date: Fri May 29 07:34:54 2009 New Revision: 193023 URL: http://svn.freebsd.org/changeset/base/193023 Log: Add an option to enforce strict RFC 1034 compliance. PR: kern/129477 Modified: head/lib/libc/resolv/res_comp.c Modified: head/lib/libc/resolv/res_comp.c =

Re: svn commit: r193011 - in head: . share/man/man9 sys/cddl/compat/opensolaris/sys sys/conf sys/kern sys/sys

2009-05-29 Thread Robert Watson
On Fri, 29 May 2009, Attilio Rao wrote: Reverse the logic for ADAPTIVE_SX option and enable it by default. Introduce for this operation the reverse NO_ADAPTIVE_SX option. The flag SX_ADAPTIVESPIN to be passed to sx_init_flags(9) gets suppressed and the new flag, offering the reversed logic,

svn commit: r193024 - head/lib/libc/net

2009-05-29 Thread Xin LI
Author: delphij Date: Fri May 29 07:55:44 2009 New Revision: 193024 URL: http://svn.freebsd.org/changeset/base/193024 Log: Document how to enable strict RFC 1034 enforcements. PR: kern/129477 Modified: head/lib/libc/net/resolver.3 Modified: head/lib/libc/net/resolver.3 ===

Re: svn commit: r193022 - head/sbin/dump

2009-05-29 Thread Brian Somers
On Fri, 29 May 2009 07:26:44 + (UTC) Brian Somers wrote: > Author: brian > Date: Fri May 29 07:26:44 2009 > New Revision: 193022 > URL: http://svn.freebsd.org/changeset/base/193022 > > Log: > Make dump -W show the level correctly. > > PR: 129110 > Submitted by: Mike Voo

svn commit: r193025 - head/sys/kern

2009-05-29 Thread Attilio Rao
Author: attilio Date: Fri May 29 08:01:48 2009 New Revision: 193025 URL: http://svn.freebsd.org/changeset/base/193025 Log: The patch for r193011 was partially rejected when applied, complete it. Modified: head/sys/kern/kern_sx.c Modified: head/sys/kern/kern_sx.c =

Re: svn commit: r193011 - in head: . share/man/man9 sys/cddl/compat/opensolaris/sys sys/conf sys/kern sys/sys

2009-05-29 Thread Attilio Rao
2009/5/29 Robert Watson : > On Fri, 29 May 2009, Attilio Rao wrote: > >> Reverse the logic for ADAPTIVE_SX option and enable it by default. >> Introduce for this operation the reverse NO_ADAPTIVE_SX option. >> The flag SX_ADAPTIVESPIN to be passed to sx_init_flags(9) gets suppressed >> and the

Re: svn commit: r192908 - in head: share/man/man9 sys/conf sys/kern sys/sys

2009-05-29 Thread Bruce Evans
On Thu, 28 May 2009, Bruce A. Mah wrote: If memory serves me right, Dag-Erling Sm??rgrav wrote: Ben Kaduk writes: Our man page style says that new sentences should start on new lines. (Since the '.' character is used for defining macros, and sometimes the processor can get confused.) That's

svn commit: r193026 - head/sys/sys

2009-05-29 Thread Robert Watson
Author: rwatson Date: Fri May 29 09:40:57 2009 New Revision: 193026 URL: http://svn.freebsd.org/changeset/base/193026 Log: Reduce vertical whitespace and other minor style tweaks. Remove unused rm_initialized() macro. Modified: head/sys/sys/rmlock.h Modified: head/sys/sys/rmlock.h =

svn commit: r193027 - head/sys/kern

2009-05-29 Thread Dag-Erling Smorgrav
Author: des Date: Fri May 29 09:52:13 2009 New Revision: 193027 URL: http://svn.freebsd.org/changeset/base/193027 Log: Fix misleading comment. MFC after:1 week Modified: head/sys/kern/vfs_lookup.c Modified: head/sys/kern/vfs_lookup.c =

svn commit: r193028 - in head/sys: kern sys

2009-05-29 Thread Dag-Erling Smorgrav
Author: des Date: Fri May 29 10:02:44 2009 New Revision: 193028 URL: http://svn.freebsd.org/changeset/base/193028 Log: Let vfs_lookup() return ENOTDIR if the path has a trailing slash and the last component is a symlink to something that isn't a directory. We introduce a new namei flag, T

svn commit: r193029 - in head/sys/dev/usb: . wlan

2009-05-29 Thread Weongyo Jeong
Author: weongyo Date: Fri May 29 10:10:23 2009 New Revision: 193029 URL: http://svn.freebsd.org/changeset/base/193029 Log: adds new device IDs. PR: usb/135009 Submitted by: Bill Squire Modified: head/sys/dev/usb/usbdevs head/sys/dev/usb/wlan/if_uath.c Modified: head/sys/d

Re: svn commit: r192934 - head/usr.sbin/mountd

2009-05-29 Thread Peter Jeremy
On 2009-May-28 15:56:28 -0400, Rick Macklem wrote: >On Fri, 29 May 2009, Peter Jeremy wrote: >> How about implementing a '-V n', where 'n' indicates the NFS version >It actually indicates which nfs server to run, not what versions of >nfs is supported, although the experimental one does NFSv4 as

svn commit: r193030 - in head: share/man/man9 sys/kern sys/net sys/security/mac sys/sys

2009-05-29 Thread Robert Watson
Author: rwatson Date: Fri May 29 10:52:37 2009 New Revision: 193030 URL: http://svn.freebsd.org/changeset/base/193030 Log: Make the rmlock(9) interface a bit more like the rwlock(9) interface: - Add rm_init_flags() and accept extended options only for that variation. - Add a flags space s

Re: svn commit: r193030 - in head: share/man/man9 sys/kern sys/net sys/security/mac sys/sys

2009-05-29 Thread Attilio Rao
2009/5/29 Robert Watson : > Author: rwatson > Date: Fri May 29 10:52:37 2009 > New Revision: 193030 > URL: http://svn.freebsd.org/changeset/base/193030 > > Log: > Make the rmlock(9) interface a bit more like the rwlock(9) interface: > > - Add rm_init_flags() and accept extended options only for t

Re: svn commit: r193030 - in head: share/man/man9 sys/kern sys/net sys/security/mac sys/sys

2009-05-29 Thread Robert Watson
On Fri, 29 May 2009, Attilio Rao wrote: Make the rmlock(9) interface a bit more like the rwlock(9) interface: - Add rm_init_flags() and accept extended options only for that variation. - Add a flags space specifically for rm_init_flags(), rather than borrowing the lock_init() flag space.

svn commit: r193032 - in head/sys: conf i386/include/xen i386/xen

2009-05-29 Thread Adrian Chadd
Author: adrian Date: Fri May 29 13:36:06 2009 New Revision: 193032 URL: http://svn.freebsd.org/changeset/base/193032 Log: Migrate the Xen hypervisor clock reading routines into something sharable. Added: head/sys/i386/include/xen/xen_clock_util.h (contents, props changed) head/sys/i386/

svn commit: r193033 - head/sys/i386/xen

2009-05-29 Thread Adrian Chadd
Author: adrian Date: Fri May 29 13:43:21 2009 New Revision: 193033 URL: http://svn.freebsd.org/changeset/base/193033 Log: Fix the Xen TOD update when the hypervisor wall clock is nudged. The "wall clock" in the current code is actually the hypervisor start time. The time of day is the "st

svn commit: r193034 - head/sys/i386/include/xen

2009-05-29 Thread Adrian Chadd
Author: adrian Date: Fri May 29 13:48:42 2009 New Revision: 193034 URL: http://svn.freebsd.org/changeset/base/193034 Log: Revert to 2-clause. Modified: head/sys/i386/include/xen/xen_clock_util.h Modified: head/sys/i386/include/xen/xen_clock_util.h

svn commit: r193035 - head/sys/kern

2009-05-29 Thread John Baldwin
Author: jhb Date: Fri May 29 13:56:34 2009 New Revision: 193035 URL: http://svn.freebsd.org/changeset/base/193035 Log: Tweak a few comments on adaptive spinning. Modified: head/sys/kern/kern_mutex.c head/sys/kern/kern_rwlock.c Modified: head/sys/kern/kern_mutex.c ==

svn commit: r193037 - head/sys/kern

2009-05-29 Thread John Baldwin
Author: jhb Date: Fri May 29 14:03:34 2009 New Revision: 193037 URL: http://svn.freebsd.org/changeset/base/193037 Log: Remove extra cpu_spinwait() invocations. This should really only be used in tight spin loops, not in these edge cases where we restart a much larger loop only a few times.

svn commit: r193038 - head/sys/kern

2009-05-29 Thread Robert Watson
Author: rwatson Date: Fri May 29 14:20:10 2009 New Revision: 193038 URL: http://svn.freebsd.org/changeset/base/193038 Log: Since sched_pin() and sched_unpin() are already inlined, don't manually inline in rmlocks. Modified: head/sys/kern/kern_rmlock.c Modified: head/sys/kern/kern_rmlock.c

svn commit: r193039 - head/sys/kern

2009-05-29 Thread Robert Watson
Author: rwatson Date: Fri May 29 14:25:51 2009 New Revision: 193039 URL: http://svn.freebsd.org/changeset/base/193039 Log: Minor style tweak. Modified: head/sys/kern/kern_rmlock.c Modified: head/sys/kern/kern_rmlock.c ==

svn commit: r193040 - stable/7

2009-05-29 Thread Andriy Gapon
Author: avg Date: Fri May 29 14:42:02 2009 New Revision: 193040 URL: http://svn.freebsd.org/changeset/base/193040 Log: use new btxld when building world in older environment This is a direct commit to the branch. This is for the benefit of those who define LOADER_ZFS_SUPPORT but should'

svn commit: r193041 - head/sys/sys

2009-05-29 Thread Edward Tomasz Napierala
Author: trasz Date: Fri May 29 15:00:04 2009 New Revision: 193041 URL: http://svn.freebsd.org/changeset/base/193041 Log: There is only one spare MNT_ flag left, and I want to use it for NFSv4 ACLs. Make room for additional filesystem flags now, to avoid breaking ABI later. Reviewed by: k

Re: svn commit: r193041 - head/sys/sys

2009-05-29 Thread Scott Long
Occasionally it's useful to be able to run older binaries on newer kernels. One particularly useful place is for making releases. Does this change to struct mount break that? If so, could there be any other way to achieve what you want without the breakage? Scott Edward Tomasz Napierala wro

Re: svn commit: r193041 - head/sys/sys

2009-05-29 Thread Attilio Rao
2009/5/29 Scott Long : > Occasionally it's useful to be able to run older binaries on newer kernels. > One particularly useful place is for making releases. Does > this change to struct mount break that? If so, could there be any other > way to achieve what you want without the breakage? The st

svn commit: r193042 - head/sys/dev/usb

2009-05-29 Thread Andrew Thompson
Author: thompsa Date: Fri May 29 16:15:56 2009 New Revision: 193042 URL: http://svn.freebsd.org/changeset/base/193042 Log: Free device strings. Spotted by: HPS Modified: head/sys/dev/usb/usb_device.c Modified: head/sys/dev/usb/usb_device.c =

svn commit: r193043 - head/contrib/ipfilter/lib

2009-05-29 Thread Stanislav Sedov
Author: stas Date: Fri May 29 16:24:23 2009 New Revision: 193043 URL: http://svn.freebsd.org/changeset/base/193043 Log: - Prevent buffer overflow in IPFilter's load_http function used to load ipfilter tables via http by the user-level ippool utility. Previously the 1024-byte buffer used

Re: svn commit: r193041 - head/sys/sys

2009-05-29 Thread Edward Tomasz Napierala
On 0529T0948, Scott Long wrote: > Occasionally it's useful to be able to run older binaries on newer > kernels. Yes, not being able to use mount(8) from FreeBSD 7 on a kernel from FreeBSD 8 would suck. ;-) > One particularly useful place is for making releases. Does > this change to struct mou

Re: svn commit: r193040 - stable/7

2009-05-29 Thread Niclas Zeising
Andriy Gapon wrote: Author: avg Date: Fri May 29 14:42:02 2009 New Revision: 193040 URL: http://svn.freebsd.org/changeset/base/193040 Log: use new btxld when building world in older environment This is a direct commit to the branch. This is for the benefit of those who define LOADER_ZF

Re: svn commit: r193040 - stable/7

2009-05-29 Thread Niclas Zeising
Andriy Gapon wrote: on 29/05/2009 20:09 Niclas Zeising said the following: Is it possible to get something along this line in 8-CURRENT as well? I accidentally removed btxld once and when I was building world it stopped in sys/boot because it was missing. I had to manually build and install it b

Re: svn commit: r193040 - stable/7

2009-05-29 Thread Andriy Gapon
on 29/05/2009 20:09 Niclas Zeising said the following: > > Is it possible to get something along this line in 8-CURRENT as well? I > accidentally removed btxld once and when I was building world it stopped > in sys/boot because it was missing. I had to manually build and install > it before i coul

Re: svn commit: r193041 - head/sys/sys

2009-05-29 Thread Robert Watson
On Fri, 29 May 2009, Attilio Rao wrote: 2009/5/29 Scott Long : Occasionally it's useful to be able to run older binaries on newer kernels. One particularly useful place is for making releases. Does this change to struct mount break that? If so, could there be any other way to achieve what

Re: svn commit: r193040 - stable/7

2009-05-29 Thread Andriy Gapon
on 29/05/2009 20:25 Niclas Zeising said the following: > Andriy Gapon wrote: >> on 29/05/2009 20:09 Niclas Zeising said the following: >>> Is it possible to get something along this line in 8-CURRENT as well? I >>> accidentally removed btxld once and when I was building world it stopped >>> in sys/

svn commit: r193044 - head/sys/kern

2009-05-29 Thread Alan Cox
Author: alc Date: Fri May 29 18:35:51 2009 New Revision: 193044 URL: http://svn.freebsd.org/changeset/base/193044 Log: Modify vm_hold_load_pages() to allocate pages using VM_ALLOC_NOOBJ rather than using the kernel object. This allows the elimination of page queues locking from vm_hold_free

svn commit: r193045 - in head/sys: compat/ndis dev/ata dev/if_ndis dev/sound/usb dev/usb dev/usb/controller dev/usb/input dev/usb/misc dev/usb/net dev/usb/serial dev/usb/storage dev/usb/template de...

2009-05-29 Thread Andrew Thompson
Author: thompsa Date: Fri May 29 18:46:57 2009 New Revision: 193045 URL: http://svn.freebsd.org/changeset/base/193045 Log: s/usb2_/usb_/ on all typedefs for the USB stack. Modified: head/sys/compat/ndis/subr_usbd.c head/sys/dev/ata/ata-usb.c head/sys/dev/if_ndis/if_ndisvar.h head/sys/de

svn commit: r193047 - in head: . sys/sys

2009-05-29 Thread Edward Tomasz Napierala
malloc debugging, run ln -s aj /etc/malloc.conf.) +20090529: + Add mnt_xflag field to 'struct mount. File system modules + need to be rebuilt. + Bump __FreeBSD_version to 800093. + 20090528: The compiling option ADAPTIVE_SX has been retired while it has

svn commit: r193051 - head/sbin/mksnap_ffs

2009-05-29 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri May 29 19:18:41 2009 New Revision: 193051 URL: http://svn.freebsd.org/changeset/base/193051 Log: - Move from mount(2) to nmount(2). This should allow to convert MNT_SNAPSHOT flag from a mount flag to FS-specific flag. - Simplify usage. Instead of 'mksnap_ffs /mnt/foo

svn commit: r193053 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb geom

2009-05-29 Thread Ulf Lilleengen
Author: lulf Date: Fri May 29 19:37:17 2009 New Revision: 193053 URL: http://svn.freebsd.org/changeset/base/193053 Log: MFC r179097: - Assert that we don't send new provider event for a provider which has G_PF_WITHER flag set. - Fix typo in assertion condition (sorry, but I forgot who re

svn commit: r193055 - head

2009-05-29 Thread Maxim Konovalov
/UPDATING Fri May 29 19:42:32 2009(r193054) +++ head/UPDATING Fri May 29 19:45:39 2009(r193055) @@ -23,7 +23,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 8. ln -s aj /etc/malloc.conf.) 20090529: - Add mnt_xflag field to 'struct mount. File system mo

svn commit: r193059 - head/sbin/fsck_ffs

2009-05-29 Thread Ulf Lilleengen
Author: lulf Date: Fri May 29 20:01:50 2009 New Revision: 193059 URL: http://svn.freebsd.org/changeset/base/193059 Log: - Use sig_atomic_t for signal handler variables. MFC after:1 week Modified: head/sbin/fsck_ffs/fsck.h Modified: head/sbin/fsck_ffs/fsck.h =

Re: svn commit: r193041 - head/sys/sys

2009-05-29 Thread Ivan Voras
2009/5/29 Edward Tomasz Napierala : >        u_int           mnt_flag;               /* (i) flags shared with user > */ > +       u_int           mnt_xflag;              /* (i) more flags shared with > user */ I have a trivial question, it probably has to do more with style than with technical

svn commit: r193060 - stable/7/usr.sbin/bluetooth/btpand

2009-05-29 Thread Maksim Yevmenkin
Author: emax Date: Fri May 29 20:22:56 2009 New Revision: 193060 URL: http://svn.freebsd.org/changeset/base/193060 Log: MFC r192308 Teach btpand(8) to recognized Bluetooth device node names. Tested by:Daniel O'Connor Modified: stable/7/usr.sbin/bluetooth/btpand/ (props change

svn commit: r193061 - stable/7/lib/libbluetooth

2009-05-29 Thread Maksim Yevmenkin
Author: emax Date: Fri May 29 20:25:03 2009 New Revision: 193061 URL: http://svn.freebsd.org/changeset/base/193061 Log: MFC r192113 Avoid floating point arithmetic while calculating iquiry length. Submitted by: Iain Hibbert < plunky -at- rya-online -dot- net > Modified: stable/7/lib

svn commit: r193065 - head/usr.sbin/jail

2009-05-29 Thread Jamie Gritton
Author: jamie Date: Fri May 29 21:17:22 2009 New Revision: 193065 URL: http://svn.freebsd.org/changeset/base/193065 Log: Fix some inaccuracies in the extensible parameter addition. Approved by: bz (mentor) Modified: head/usr.sbin/jail/jail.8 Modified: head/usr.sbin/jail/jail.8

svn commit: r193066 - in head: sys/amd64/amd64 sys/arm/arm sys/cddl/compat/opensolaris/kern sys/compat/linux sys/compat/svr4 sys/ddb sys/dev/firewire sys/dev/syscons/daemon sys/fs/cd9660 sys/fs/nfs...

2009-05-29 Thread Jamie Gritton
Author: jamie Date: Fri May 29 21:27:12 2009 New Revision: 193066 URL: http://svn.freebsd.org/changeset/base/193066 Log: Place hostnames and similar information fully under the prison system. The system hostname is now stored in prison0, and the global variable "hostname" has been removed, a

svn commit: r193068 - head/sys/dev/usb/controller

2009-05-29 Thread Andrew Thompson
Author: thompsa Date: Fri May 29 22:11:22 2009 New Revision: 193068 URL: http://svn.freebsd.org/changeset/base/193068 Log: Fix function arguments were previously they matched the typedef by accident. Modified: head/sys/dev/usb/controller/usb_controller.c Modified: head/sys/dev/usb/controller

svn commit: r193070 - in head/usr.sbin: nfscbd nfsdumpstate nfsrevoke nfsuserd

2009-05-29 Thread Xin LI
Author: delphij Date: Fri May 29 22:19:45 2009 New Revision: 193070 URL: http://svn.freebsd.org/changeset/base/193070 Log: Code cleanup for nfs4 utilities: - Mark internal routines as static; - Eliminate unused parameters where possible, mark __unused for others; - Remove unused vari

svn commit: r193072 - head/sys/net80211

2009-05-29 Thread Sam Leffler
Author: sam Date: Fri May 29 23:39:16 2009 New Revision: 193072 URL: http://svn.freebsd.org/changeset/base/193072 Log: add ieee80211_isratevalid Modified: head/sys/net80211/ieee80211_phy.h Modified: head/sys/net80211/ieee80211_phy.h ===

svn commit: r193073 - in head/sys/dev: bwi iwn ral usb/wlan

2009-05-29 Thread Sam Leffler
Author: sam Date: Fri May 29 23:41:31 2009 New Revision: 193073 URL: http://svn.freebsd.org/changeset/base/193073 Log: validate tx rate(s) in the raw xmit path Tested by:"Paul B. Mahol" (rum, bwi) Modified: head/sys/dev/bwi/if_bwi.c head/sys/dev/iwn/if_iwn.c head/sys/dev/ral/rt2

svn commit: r193074 - in head/sys/dev/usb: . controller

2009-05-29 Thread Andrew Thompson
Author: thompsa Date: Sat May 30 00:22:57 2009 New Revision: 193074 URL: http://svn.freebsd.org/changeset/base/193074 Log: Revert the size_t part of the last commit for the moment, this blows up the USB_ADD_BYTES macro. Modified: head/sys/dev/usb/controller/usb_controller.c head/sys/dev/u

svn commit: r193079 - head/sys/dev/bwi

2009-05-29 Thread Sam Leffler
Author: sam Date: Sat May 30 01:33:05 2009 New Revision: 193079 URL: http://svn.freebsd.org/changeset/base/193079 Log: fix typo Modified: head/sys/dev/bwi/if_bwi.c Modified: head/sys/dev/bwi/if_bwi.c == --- head/sys/

svn commit: r193081 - stable/7/share/misc

2009-05-29 Thread Edwin Groothuis
Author: edwin Date: Sat May 30 05:19:10 2009 New Revision: 193081 URL: http://svn.freebsd.org/changeset/base/193081 Log: MFC of 192627 and 192626 Updated against http://www.loc.gov/standards/iso639-2/langhome.html Snapshot was taken on 16 September 2008. Update share/misc/iso639 Sn

svn commit: r193082 - head/sys/i386/xen

2009-05-29 Thread Adrian Chadd
Author: adrian Date: Sat May 30 06:37:03 2009 New Revision: 193082 URL: http://svn.freebsd.org/changeset/base/193082 Log: Correctly report the IPI IRQs being created; make it clear what vectors they are for. Modified: head/sys/i386/xen/mp_machdep.c Modified: head/sys/i386/xen/mp_machdep.c =