svn commit: r214619 - stable/8/sbin/mount_nfs

2010-10-31 Thread Jaakko Heinonen
Author: jh Date: Mon Nov 1 06:19:44 2010 New Revision: 214619 URL: http://svn.freebsd.org/changeset/base/214619 Log: MFC r214419: Correct a typo. PR: 151321 Modified: stable/8/sbin/mount_nfs/mount_nfs.c Directory Properties: stable/8/sbin/mount_nfs/ (props changed) Modifi

svn commit: r214618 - stable/8/sbin/mksnap_ffs

2010-10-31 Thread Jaakko Heinonen
Author: jh Date: Mon Nov 1 06:17:02 2010 New Revision: 214618 URL: http://svn.freebsd.org/changeset/base/214618 Log: MFC r213668: - Print the nmount(2) provided error message only when it is set. - Ensure that the error message is NUL-terminated before printing it. PR: bin

svn commit: r214617 - head/sys/powerpc/aim

2010-10-31 Thread Alan Cox
Author: alc Date: Mon Nov 1 02:22:48 2010 New Revision: 214617 URL: http://svn.freebsd.org/changeset/base/214617 Log: Implement pmap_is_prefaultable(). Reviewed by: nwhitehorn Modified: head/sys/powerpc/aim/mmu_oea.c head/sys/powerpc/aim/mmu_oea64.c Modified: head/sys/powerpc/aim/mm

svn commit: r214616 - in stable/8/sys/fs: nfs nfsserver

2010-10-31 Thread Rick Macklem
Author: rmacklem Date: Mon Nov 1 02:21:35 2010 New Revision: 214616 URL: http://svn.freebsd.org/changeset/base/214616 Log: MFC: r214224 Modify the file handle hash function in the experimental NFS server so that it will work better for non-UFS file systems. The new function simply sums th

svn commit: r214615 - head/usr.bin/locate/locate

2010-10-31 Thread Garrett Wollman
Author: wollman Date: Mon Nov 1 02:20:18 2010 New Revision: 214615 URL: http://svn.freebsd.org/changeset/base/214615 Log: Style cleanup: make this look more like a 21st-century shell script and not something out of the early 1980s. Make sure all error messages go to stderr, not stdout. Si

Re: svn commit: r214613 - head/usr.bin/locate/locate

2010-10-31 Thread Garrett Wollman
< said: > jilles@ pointed out that using ${PRUNEDIRS:=".zfs"} in updatedb.sh > made it impossible to override PRUNEDIRS to make it empty. Use the > non-colon form to only set PRUNEDIRS if it is completely unset. (For > parallelism, the other configuration defaults here could be done the

svn commit: r214614 - stable/8/sys/fs/nfsserver

2010-10-31 Thread Rick Macklem
Author: rmacklem Date: Mon Nov 1 01:55:15 2010 New Revision: 214614 URL: http://svn.freebsd.org/changeset/base/214614 Log: MFC: r214149 Modify the experimental NFS server in a manner analagous to r214049 for the regular NFS server, so that it will not do a VOP_LOOKUP() of ".." when at the

svn commit: r214613 - head/usr.bin/locate/locate

2010-10-31 Thread Garrett Wollman
Author: wollman Date: Mon Nov 1 01:51:47 2010 New Revision: 214613 URL: http://svn.freebsd.org/changeset/base/214613 Log: jilles@ pointed out that using ${PRUNEDIRS:=".zfs"} in updatedb.sh made it impossible to override PRUNEDIRS to make it empty. Use the non-colon form to only set PRUNEDI

svn commit: r214612 - in stable/8/sys: fs/nfsclient nfs nfsclient nlm

2010-10-31 Thread Rick Macklem
Author: rmacklem Date: Mon Nov 1 01:03:05 2010 New Revision: 214612 URL: http://svn.freebsd.org/changeset/base/214612 Log: MFC: r214048, r214053 Modify the NFS clients and the NLM so that the NLM can be used by both clients. Since the NLM uses various fields of the nfsmount structure, tho

svn commit: r214611 - head/sys/kern

2010-10-31 Thread David Xu
Author: davidxu Date: Mon Nov 1 00:42:25 2010 New Revision: 214611 URL: http://svn.freebsd.org/changeset/base/214611 Log: Use integer for size of cpuset, as it won't be bigger than INT_MAX, This is requested by bge. Also move the sysctl into file kern_cpuset.c, because it should always be

svn commit: r214610 - head/sys/powerpc/aim

2010-10-31 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Oct 31 23:04:15 2010 New Revision: 214610 URL: http://svn.freebsd.org/changeset/base/214610 Log: Add a security nit to recent copyin/out changes: map the user segment no-execute in case of exploitable kernel bugs. MFC after:1 week Modified: head/sys/pow

svn commit: r214609 - head/bin/sh

2010-10-31 Thread Jilles Tjoelker
Author: jilles Date: Sun Oct 31 23:03:11 2010 New Revision: 214609 URL: http://svn.freebsd.org/changeset/base/214609 Log: sh(1): Correct synopsis and make precise how $0 is set. In particular, the extra argument to set $0 with -c was not documented. MFC after:1 week Modified: he

svn commit: r214608 - head/sys/dev/mii

2010-10-31 Thread Marius Strobl
Author: marius Date: Sun Oct 31 22:59:49 2010 New Revision: 214608 URL: http://svn.freebsd.org/changeset/base/214608 Log: Turn a panic into a printf so IFM_ETH_MASTER on !IFM_1000_T is complained about but otherwise ignored. When allowing the master to be set manually via ifconfig(8) by addi

svn commit: r214607 - head/sys/powerpc/aim

2010-10-31 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Oct 31 22:55:51 2010 New Revision: 214607 URL: http://svn.freebsd.org/changeset/base/214607 Log: Next-to-leading-order perturbation of synchronization operations for switching the user segment register. All races should now be closed and a minimum of pipelines fl

svn commit: r214606 - head/sys/dev/mii

2010-10-31 Thread Marius Strobl
Author: marius Date: Sun Oct 31 22:46:39 2010 New Revision: 214606 URL: http://svn.freebsd.org/changeset/base/214606 Log: Try to make the style consistent (including regarding NetBSD bits not yet merged) and adhere style(9). Modified: head/sys/dev/mii/mii_physubr.c Modified: head/sys/dev/m

svn commit: r214605 - head/sys/dev/mii

2010-10-31 Thread Marius Strobl
Author: marius Date: Sun Oct 31 22:41:53 2010 New Revision: 214605 URL: http://svn.freebsd.org/changeset/base/214605 Log: Make a comment reflect reality. Modified: head/sys/dev/mii/miivar.h Modified: head/sys/dev/mii/miivar.h ==

Re: svn commit: r214596 - head/bin/rm

2010-10-31 Thread Ulrich Spoerlein
On Sun, 31.10.2010 at 20:50:03 +0100, Pawel Jakub Dawidek wrote: > On Sun, Oct 31, 2010 at 08:11:19PM +0100, Ulrich Spoerlein wrote: > > On Sun, 31.10.2010 at 17:06:03 +0100, Pawel Jakub Dawidek wrote: > > > IMHO this option should be removed and rm(1) should fail when a user is > > > trying to use

Re: svn commit: r214596 - head/bin/rm

2010-10-31 Thread Pawel Jakub Dawidek
On Sun, Oct 31, 2010 at 08:11:19PM +0100, Ulrich Spoerlein wrote: > On Sun, 31.10.2010 at 17:06:03 +0100, Pawel Jakub Dawidek wrote: > > IMHO this option should be removed and rm(1) should fail when a user is > > trying to use it. > > No, this is a POLA violation for no apparent gain. The flag has

svn commit: r214604 - head/bin/rm

2010-10-31 Thread Ulrich Spoerlein
Author: uqs Date: Sun Oct 31 19:16:54 2010 New Revision: 214604 URL: http://svn.freebsd.org/changeset/base/214604 Log: Fix typo and grammar nit Submitted by: arundel MFC after:7 days (or when the bikeshed has abated) Modified: head/bin/rm/rm.1 Modified: head/bin/rm/rm.1 ==

Re: svn commit: r214596 - head/bin/rm

2010-10-31 Thread Ulrich Spoerlein
On Sun, 31.10.2010 at 17:06:03 +0100, Pawel Jakub Dawidek wrote: > On Sun, Oct 31, 2010 at 09:21:28AM +, Ulrich Spoerlein wrote: > > Author: uqs > > Date: Sun Oct 31 09:21:27 2010 > > New Revision: 214596 > > URL: http://svn.freebsd.org/changeset/base/214596 > > > > Log: > > Elaborate some m

svn commit: r214603 - in head/sys: conf dev/agp modules modules/agp powerpc/conf

2010-10-31 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Oct 31 18:27:05 2010 New Revision: 214603 URL: http://svn.freebsd.org/changeset/base/214603 Log: Add a driver for the Apple Uninorth AGP host bridge found in all PowerPC Macintoshes with an AGP bus. Added: head/sys/dev/agp/agp_apple.c (contents, props changed)

Re: svn commit: r214596 - head/bin/rm

2010-10-31 Thread Tim Kientzle
On Oct 31, 2010, at 9:06 AM, Pawel Jakub Dawidek wrote: > On Sun, Oct 31, 2010 at 09:21:28AM +, Ulrich Spoerlein wrote: >> Author: uqs >> Date: Sun Oct 31 09:21:27 2010 >> New Revision: 214596 >> URL: http://svn.freebsd.org/changeset/base/214596 >> >> Log: >> Elaborate some more on the non-

Re: svn commit: r214596 - head/bin/rm

2010-10-31 Thread Alexander Best
On Sun Oct 31 10, Pawel Jakub Dawidek wrote: > On Sun, Oct 31, 2010 at 09:21:28AM +, Ulrich Spoerlein wrote: > > Author: uqs > > Date: Sun Oct 31 09:21:27 2010 > > New Revision: 214596 > > URL: http://svn.freebsd.org/changeset/base/214596 > > > > Log: > > Elaborate some more on the non-secur

svn commit: r214602 - stable/8/sys/net

2010-10-31 Thread Bjoern A. Zeeb
Author: bz Date: Sun Oct 31 16:54:50 2010 New Revision: 214602 URL: http://svn.freebsd.org/changeset/base/214602 Log: Correct a merge issue from r214554, where the field had been deprecated and reserved in HEAD but is still there in 8. Reported by: dhw Modified: stable/8/sys/net/if_de

Re: svn commit: r214596 - head/bin/rm

2010-10-31 Thread Pawel Jakub Dawidek
On Sun, Oct 31, 2010 at 09:21:28AM +, Ulrich Spoerlein wrote: > Author: uqs > Date: Sun Oct 31 09:21:27 2010 > New Revision: 214596 > URL: http://svn.freebsd.org/changeset/base/214596 > > Log: > Elaborate some more on the non-security implications of using -P [...] > +.Pp > +N.B.: The > +.Fl

svn commit: r214601 - head/sys/powerpc/aim

2010-10-31 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Oct 31 15:07:09 2010 New Revision: 214601 URL: http://svn.freebsd.org/changeset/base/214601 Log: Add some missing parentheses so that moea_bat_mapped() actually works. Submitted by: alc MFC after:3 days Modified: head/sys/powerpc/aim/mmu_oea.c Modified

svn commit: r214600 - head/bin/sh

2010-10-31 Thread Jilles Tjoelker
Author: jilles Date: Sun Oct 31 12:08:16 2010 New Revision: 214600 URL: http://svn.freebsd.org/changeset/base/214600 Log: sh: Reindent evaltree(). Modified: head/bin/sh/eval.c Modified: head/bin/sh/eval.c == --- head

svn commit: r214599 - head/bin/sh

2010-10-31 Thread Jilles Tjoelker
Author: jilles Date: Sun Oct 31 12:06:02 2010 New Revision: 214599 URL: http://svn.freebsd.org/changeset/base/214599 Log: sh: Use iteration instead of recursion to evaluate semicolon lists. This reduces CPU and memory usage when executing long lists (such as long functions). Modified: hea

svn commit: r214598 - stable/8/share/man/man5

2010-10-31 Thread Benedict Reuschling
Author: bcr (doc committer) Date: Sun Oct 31 12:05:37 2010 New Revision: 214598 URL: http://svn.freebsd.org/changeset/base/214598 Log: MFC r214387: Add some missing documentation to the man page: - FILES section ref: ~/nsmb.conf - use of password in examples section - use of simple

Re: svn commit: r214583 - head/usr.bin/locate/locate

2010-10-31 Thread Jilles Tjoelker
On Sun, Oct 31, 2010 at 02:36:05AM +, Garrett Wollman wrote: > Author: wollman > Date: Sun Oct 31 02:36:05 2010 > New Revision: 214583 > URL: http://svn.freebsd.org/changeset/base/214583 > Log: > Make it possible to exclude directories by name no matter where they > are in the filesystem f

svn commit: r214597 - head/sys/kern

2010-10-31 Thread Alexander Motin
Author: mav Date: Sun Oct 31 11:44:41 2010 New Revision: 214597 URL: http://svn.freebsd.org/changeset/base/214597 Log: Fix callout_tickstofirst() behavior after signed integer ticks overflow. This should fix callout precision drop to 1/4s after 25 days of uptime with HZ = 1000. Submitte

Re: svn commit: r214596 - head/bin/rm

2010-10-31 Thread Alexander Best
On Sun Oct 31 10, Ulrich Spoerlein wrote: > Author: uqs > Date: Sun Oct 31 09:21:27 2010 > New Revision: 214596 > URL: http://svn.freebsd.org/changeset/base/214596 > > Log: > Elaborate some more on the non-security implications of using -P thanks a lot. i think there are a few typos though (see

svn commit: r214596 - head/bin/rm

2010-10-31 Thread Ulrich Spoerlein
Author: uqs Date: Sun Oct 31 09:21:27 2010 New Revision: 214596 URL: http://svn.freebsd.org/changeset/base/214596 Log: Elaborate some more on the non-security implications of using -P Submitted by: delphij Discussion at:svn-src-all Modified: head/bin/rm/rm.1 Modified: head/bin

svn commit: r214595 - stable/8/sys/pc98/pc98

2010-10-31 Thread Takahashi Yoshihiro
Author: nyan Date: Sun Oct 31 09:05:04 2010 New Revision: 214595 URL: http://svn.freebsd.org/changeset/base/214595 Log: MFC: revision 207355 - Change printf() calls to uprintf() for sigreturn(). - Normalize the messages to include both pid and thread name. Modified: stable/8/sys/pc98

svn commit: r214594 - stable/7/sys/pc98/pc98

2010-10-31 Thread Takahashi Yoshihiro
Author: nyan Date: Sun Oct 31 08:50:31 2010 New Revision: 214594 URL: http://svn.freebsd.org/changeset/base/214594 Log: MFC: revision 214258 Rewrite the i386 memory probe: - Move the base memory setup into a new basemem_setup() routine. Modified: stable/7/sys/pc98/pc98/machdep.c Dir

svn commit: r214593 - stable/8/sys/pc98/pc98

2010-10-31 Thread Takahashi Yoshihiro
Author: nyan Date: Sun Oct 31 08:39:42 2010 New Revision: 214593 URL: http://svn.freebsd.org/changeset/base/214593 Log: MFC: revision 214258 Rewrite the i386 memory probe: - Move the base memory setup into a new basemem_setup() routine. The mergeinfo is already recorded accidental

svn commit: r214592 - stable/8/sys/pc98/pc98

2010-10-31 Thread Takahashi Yoshihiro
Author: nyan Date: Sun Oct 31 08:18:23 2010 New Revision: 214592 URL: http://svn.freebsd.org/changeset/base/214592 Log: MFC: revision 208639 Use SEL_KPL macro. Modified: stable/8/sys/pc98/pc98/machdep.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/includ

svn commit: r214591 - stable/8/sys/pc98/pc98

2010-10-31 Thread Takahashi Yoshihiro
Author: nyan Date: Sun Oct 31 08:14:52 2010 New Revision: 214591 URL: http://svn.freebsd.org/changeset/base/214591 Log: MFC: revision 208638 - Add an integer argument to idle to indicate how likely we are to wake from idle over the next tick. - Add a new MD routine, cpu_wake_idl

svn commit: r214590 - stable/8/sys/pc98/pc98

2010-10-31 Thread Takahashi Yoshihiro
Author: nyan Date: Sun Oct 31 08:08:18 2010 New Revision: 214590 URL: http://svn.freebsd.org/changeset/base/214590 Log: MFC: revision 208634 Reduce diffs against i386. Modified: stable/8/sys/pc98/pc98/machdep.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd6

svn commit: r214589 - stable/8/sys/pc98/pc98

2010-10-31 Thread Takahashi Yoshihiro
Author: nyan Date: Sun Oct 31 08:02:47 2010 New Revision: 214589 URL: http://svn.freebsd.org/changeset/base/214589 Log: MFC: revision 208632 Clarify a potential issue in get_fpcontext() use. Modified: stable/8/sys/pc98/pc98/machdep.c Directory Properties: stable/8/sys/ (props chang

svn commit: r214588 - stable/8/sys/pc98/cbus

2010-10-31 Thread Takahashi Yoshihiro
Author: nyan Date: Sun Oct 31 07:57:05 2010 New Revision: 214588 URL: http://svn.freebsd.org/changeset/base/214588 Log: MFC: revision 208563 Reduce diffs against syscons_isa.c. No functional changes. Modified: stable/8/sys/pc98/cbus/syscons_cbus.c Directory Properties: stable/8/sys/