Re: svn commit: r216439 - head/usr.bin/printf

2010-12-15 Thread Bruce Evans
On Tue, 14 Dec 2010, Xin LI wrote: Log: When printf is being used as a sh(1) builtin, it can not call exit(3) as pointed out by jilles@ so revert to using return(), also change the return value back to 1 as requested by b...@. This is logically a revert of revision 216422. Thanks. Bruce

Re: svn commit: r216422 - head/usr.bin/printf

2010-12-15 Thread Bruce Evans
On Tue, 14 Dec 2010, Pawel Jakub Dawidek wrote: On Tue, Dec 14, 2010 at 07:26:13PM +1100, Bruce Evans wrote: (*) Reading between the lines, I wilfully misinterpret this example of being a bad example of everthing it does: % Exits should be 0 on success, or according to the predefined valu

svn commit: r216453 - head/sbin/newfs

2010-12-15 Thread Konstantin Belousov
Author: kib Date: Wed Dec 15 12:45:28 2010 New Revision: 216453 URL: http://svn.freebsd.org/changeset/base/216453 Log: Add the missed 'p' flag to getopt() optstring argument. MFC after:1 week Modified: head/sbin/newfs/newfs.c Modified: head/sbin/newfs/newfs.c ===

svn commit: r216454 - head/sys/nfsserver

2010-12-15 Thread Konstantin Belousov
Author: kib Date: Wed Dec 15 12:46:53 2010 New Revision: 216454 URL: http://svn.freebsd.org/changeset/base/216454 Log: VOP_ISLOCKED() should not be used to determine if the vnode is locked. Explicitely track the locked status of the vnode. Reviewed by: pjd Tested by:avg MFC after

svn commit: r216461 - head/sys/fs/devfs

2010-12-15 Thread Jaakko Heinonen
Author: jh Date: Wed Dec 15 16:42:44 2010 New Revision: 216461 URL: http://svn.freebsd.org/changeset/base/216461 Log: - Assert that dm_lock is exclusively held in devfs_rules_apply() and in devfs_vmkdir() while adding the entry to de_list of the parent. - Apply devfs rules to newly created

svn commit: r216462 - head/sys/fs/devfs

2010-12-15 Thread Jaakko Heinonen
Author: jh Date: Wed Dec 15 16:49:47 2010 New Revision: 216462 URL: http://svn.freebsd.org/changeset/base/216462 Log: Don't allow user created symbolic links to cover another entries marked with DE_USER. If a devfs rule hid such entry, it was possible to create infinite number of symbolic li

Re: svn commit: r216461 - head/sys/fs/devfs

2010-12-15 Thread Jaakko Heinonen
On 2010-12-15, Jaakko Heinonen wrote: > - Assert that dm_lock is exclusively held in devfs_rules_apply() and > in devfs_vmkdir() while adding the entry to de_list of the parent. > - Apply devfs rules to newly created directories and symbolic links. > > PR: kern/125034 > Submi

svn commit: r216463 - head/sys/kern

2010-12-15 Thread Matthew D Fleming
Author: mdf Date: Wed Dec 15 19:30:44 2010 New Revision: 216463 URL: http://svn.freebsd.org/changeset/base/216463 Log: One of the compat32 functions was copying in a raw timespec, instead of a 32-bit one. This can cause weird timeout issues, as the copying reads garbage from the user.

svn commit: r216466 - in head/sys: conf netinet

2010-12-15 Thread Bjoern A. Zeeb
Author: bz Date: Wed Dec 15 22:58:45 2010 New Revision: 216466 URL: http://svn.freebsd.org/changeset/base/216466 Log: Bring back (most of) NATM to avoid further bitrot after r186119. Keep three lines disabled which I am unsure if they had been used at all. This will allow us to seek testers

Re: svn commit: r216466 - in head/sys: conf netinet

2010-12-15 Thread Bjoern A. Zeeb
On Wed, 15 Dec 2010, Bjoern A. Zeeb wrote: Author: bz Date: Wed Dec 15 22:58:45 2010 New Revision: 216466 URL: http://svn.freebsd.org/changeset/base/216466 Log: Bring back (most of) NATM to avoid further bitrot after r186119. Keep three lines disabled which I am unsure if they had been used a

svn commit: r216468 - in head/sbin/geom/class: . cache concat eli journal label mirror mountver multipath nop part raid3 sched shsec stripe virstor

2010-12-15 Thread David E. O'Brien
Author: obrien Date: Wed Dec 15 23:24:34 2010 New Revision: 216468 URL: http://svn.freebsd.org/changeset/base/216468 Log: Rename the generic "CLASS" to the more specific "GEOM_CLASS". While I'm here remove redundancy and inconsistencies. Obtained from: Juniper Networks Modified: head/s

svn commit: r216469 - head/release/powerpc

2010-12-15 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Dec 15 23:43:25 2010 New Revision: 216469 URL: http://svn.freebsd.org/changeset/base/216469 Log: Fix the overflowing livefs ISO by removing man pages from the HFS part of the hybrid disk. This is a stopgap until a better solution can be found, but lets the powerp

svn commit: r216470 - in head/sbin/geom: . class/sched core

2010-12-15 Thread David E. O'Brien
Author: obrien Date: Wed Dec 15 23:45:12 2010 New Revision: 216470 URL: http://svn.freebsd.org/changeset/base/216470 Log: Rename the generic "CLASS" to the more specific "GEOM_CLASS". While I'm here remove redundancy and inconsistencies. Obtained from: Juniper Networks Modified: head/s

svn commit: r216471 - in head: sys/conf sys/contrib/dev/acpica sys/contrib/dev/acpica/common sys/contrib/dev/acpica/compiler sys/contrib/dev/acpica/debugger sys/contrib/dev/acpica/dispatcher sys/co...

2010-12-15 Thread Jung-uk Kim
Author: jkim Date: Wed Dec 15 23:48:45 2010 New Revision: 216471 URL: http://svn.freebsd.org/changeset/base/216471 Log: Merge ACPICA 20101209. Added: head/sys/contrib/dev/acpica/events/evxfgpe.c - copied, changed from r216468, vendor-sys/acpica/dist/events/evxfgpe.c Modified: head/sys/

svn commit: r216472 - head/sbin/geom/class/virstor

2010-12-15 Thread David E. O'Brien
Author: obrien Date: Thu Dec 16 00:00:28 2010 New Revision: 216472 URL: http://svn.freebsd.org/changeset/base/216472 Log: GEOM virstor .so does not need libmd. Modified: head/sbin/geom/class/virstor/Makefile Modified: head/sbin/geom/class/virstor/Makefile

svn commit: r216473 - head/sbin/geom/class/eli

2010-12-15 Thread David E. O'Brien
Author: obrien Date: Thu Dec 16 00:36:10 2010 New Revision: 216473 URL: http://svn.freebsd.org/changeset/base/216473 Log: Bump WARNS to 6. Modified: head/sbin/geom/class/eli/Makefile Modified: head/sbin/geom/class/eli/Makefile =

svn commit: r216474 - in head/sys: conf mips/mips

2010-12-15 Thread Jayachandran C.
Author: jchandra Date: Thu Dec 16 04:56:03 2010 New Revision: 216474 URL: http://svn.freebsd.org/changeset/base/216474 Log: Make the ELF trampoline binary ELF executable (and do some cleanup). - Remove the -shared flag for the trampoline binary, generate an ELF executable instead of a s

svn commit: r216475 - head/sys/mips/conf

2010-12-15 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Dec 16 05:13:41 2010 New Revision: 216475 URL: http://svn.freebsd.org/changeset/base/216475 Log: - include argument should be in quotes Modified: head/sys/mips/conf/SWARM head/sys/mips/conf/SWARM64 head/sys/mips/conf/SWARM64_SMP head/sys/mips/conf/SWARM_SMP Modi

svn commit: r216476 - in head/sys: contrib/octeon-sdk mips/cavium/octe

2010-12-15 Thread Juli Mallett
Author: jmallett Date: Thu Dec 16 07:20:38 2010 New Revision: 216476 URL: http://svn.freebsd.org/changeset/base/216476 Log: o) Add support for the Lanner MR-321X/MR-325, which is just a modified MR-320. o) On the Lanner MR-730, disable PCIe lane swap, per vendor. Modified: head/sys/contrib/

svn commit: r216477 - head/sbin/hastd

2010-12-15 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Dec 16 07:28:40 2010 New Revision: 216477 URL: http://svn.freebsd.org/changeset/base/216477 Log: Log the fact of launching and include protocol version number. MFC after:3 days Modified: head/sbin/hastd/hastd.c Modified: head/sbin/hastd/hastd.c

svn commit: r216478 - head/sbin/hastd

2010-12-15 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Dec 16 07:29:58 2010 New Revision: 216478 URL: http://svn.freebsd.org/changeset/base/216478 Log: Don't ignore errors from remote requests. MFC after:3 days Modified: head/sbin/hastd/primary.c Modified: head/sbin/hastd/primary.c =

svn commit: r216479 - head/sbin/hastd

2010-12-15 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Dec 16 07:30:47 2010 New Revision: 216479 URL: http://svn.freebsd.org/changeset/base/216479 Log: Improve problems logging. MFC after:3 days Modified: head/sbin/hastd/primary.c Modified: head/sbin/hastd/primary.c =