svn commit: r227101 - in head/games: bcd caesar fortune/fortune fortune/unstr grdc morse number

2011-11-05 Thread Ed Schouten
Author: ed Date: Sat Nov 5 07:18:53 2011 New Revision: 227101 URL: http://svn.freebsd.org/changeset/base/227101 Log: Add static keywords to variables and functions where possible in games/. This allows us to detect unused functions and variables and allows the compiler to do a better

svn commit: r227102 - head/sys/vm

2011-11-05 Thread Konstantin Belousov
Author: kib Date: Sat Nov 5 08:20:32 2011 New Revision: 227102 URL: http://svn.freebsd.org/changeset/base/227102 Log: Provide typedefs for the type of bit mask for the page bits. Use the defined types instead of int when manipulating masks. Supposedly, it could fix support for 32KB page

svn commit: r227103 - head/sys/vm

2011-11-05 Thread Konstantin Belousov
Author: kib Date: Sat Nov 5 09:03:18 2011 New Revision: 227103 URL: http://svn.freebsd.org/changeset/base/227103 Log: Remove redundand definitions. The chunk was missed from r227102. MFC after:2 weeks Modified: head/sys/vm/vm_page.h Modified: head/sys/vm/vm_page.h

svn commit: r227104 - head/sys/fs/procfs

2011-11-05 Thread Konstantin Belousov
Author: kib Date: Sat Nov 5 09:04:13 2011 New Revision: 227104 URL: http://svn.freebsd.org/changeset/base/227104 Log: Fix typo. MFC after:3 days Modified: head/sys/fs/procfs/procfs_status.c Modified: head/sys/fs/procfs/procfs_status.c

svn commit: r227105 - head/lib/libpam/modules/pam_unix

2011-11-05 Thread Ed Schouten
Author: ed Date: Sat Nov 5 10:00:29 2011 New Revision: 227105 URL: http://svn.freebsd.org/changeset/base/227105 Log: Remove an unused variable from pam_unix. This variable was added in r82352 back in 2001, but even then it didn't have any use. Because it's not marked static, the C

svn commit: r227106 - stable/8/sys/dev/sound/pcm

2011-11-05 Thread Andriy Gapon
Author: avg Date: Sat Nov 5 11:04:25 2011 New Revision: 227106 URL: http://svn.freebsd.org/changeset/base/227106 Log: MFC r225505: dsp_ioctl: fix type of variable used to store ioctl request PR: kern/156433 Modified: stable/8/sys/dev/sound/pcm/dsp.c Directory Properties:

svn commit: r227107 - stable/7/sys/dev/sound/pcm

2011-11-05 Thread Andriy Gapon
Author: avg Date: Sat Nov 5 11:18:46 2011 New Revision: 227107 URL: http://svn.freebsd.org/changeset/base/227107 Log: MFC r225505: dsp_ioctl: fix type of variable used to store ioctl request PR: kern/156433 Modified: stable/7/sys/dev/sound/pcm/dsp.c Directory Properties:

svn commit: r227108 - head/sys/dev/usb/serial

2011-11-05 Thread Hans Petter Selasky
Author: hselasky Date: Sat Nov 5 12:01:51 2011 New Revision: 227108 URL: http://svn.freebsd.org/changeset/base/227108 Log: Implement support for modem control lines. Don't short terminate transmitted BULK data. Assume that the chip reads one USB packet at a time. PR:

svn commit: r227110 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2011-11-05 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Nov 5 16:29:03 2011 New Revision: 227110 URL: http://svn.freebsd.org/changeset/base/227110 Log: In zvol_open() if the spa_namespace_lock is already held, it means that ZFS is trying to open and taste ZVOL as its VDEV. This is not supported, so return an error instead

svn commit: r227111 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2011-11-05 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Nov 5 16:44:25 2011 New Revision: 227111 URL: http://svn.freebsd.org/changeset/base/227111 Log: Correct typo in comment. Reported by: Fabian Keil f...@fabiankeil.de MFC after:3 days Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zvol.c

svn commit: r227112 - head/etc/rc.d

2011-11-05 Thread Dimitry Andric
Author: dim Date: Sat Nov 5 16:47:47 2011 New Revision: 227112 URL: http://svn.freebsd.org/changeset/base/227112 Log: Whenever you boot with nfsv4_server_enable=NO (the default) in rc.conf, the /etc/rc.d/nfsd script sets vfs.nfsd.server_max_nfsvers to 3. Then, when you set

svn commit: r227116 - head/share/man/man9

2011-11-05 Thread John-Mark Gurney
Author: jmg Date: Sat Nov 5 17:55:49 2011 New Revision: 227116 URL: http://svn.freebsd.org/changeset/base/227116 Log: group functions together by function... document knlist_delete, and better document what knlist_clear does... Note that both of these functions may sleep, and also

svn commit: r227117 - stable/9/sys/dev/mfi

2011-11-05 Thread Konstantin Belousov
Author: kib Date: Sat Nov 5 18:27:47 2011 New Revision: 227117 URL: http://svn.freebsd.org/changeset/base/227117 Log: MFC r226896: Fix an implicit dependency between the MFI driver and CAM that had grown due to an API change in CAM. It's once again possible to link a static kernel with

svn commit: r227120 - head

2011-11-05 Thread Dimitry Andric
Author: dim Date: Sat Nov 5 21:16:39 2011 New Revision: 227120 URL: http://svn.freebsd.org/changeset/base/227120 Log: Make it possible to set CC and CXX (and optionally, AS and LD) in make.conf(5), while allowing the build32 stage on 64-bit architectures to still override them, so that

svn commit: r227121 - head/usr.bin/make

2011-11-05 Thread Jilles Tjoelker
Author: jilles Date: Sat Nov 5 21:32:17 2011 New Revision: 227121 URL: http://svn.freebsd.org/changeset/base/227121 Log: make(1): obj dirs are physical paths so write `pwd -P` rather than `pwd`. Regular pwd may return a pathname containing symlinks, but make does not use such pathnames.

svn commit: r227122 - head/bin/sh

2011-11-05 Thread Jilles Tjoelker
Author: jilles Date: Sat Nov 5 21:56:45 2011 New Revision: 227122 URL: http://svn.freebsd.org/changeset/base/227122 Log: sh(1): Improve documentation of field splitting. Modified: head/bin/sh/sh.1 Modified: head/bin/sh/sh.1

svn commit: r227123 - head/usr.bin/xlint/xlint

2011-11-05 Thread Jilles Tjoelker
Author: jilles Date: Sat Nov 5 22:25:15 2011 New Revision: 227123 URL: http://svn.freebsd.org/changeset/base/227123 Log: lint: Fix lseek() argument order. Because SEEK_SET is 0, this seems to have no effect on the generated code. PR: bin/160806 Submitted by: Henning

svn commit: r227124 - head/tools/regression/fifo/fifo_misc

2011-11-05 Thread Jilles Tjoelker
Author: jilles Date: Sat Nov 5 22:33:19 2011 New Revision: 227124 URL: http://svn.freebsd.org/changeset/base/227124 Log: fifo_misc test: Fix swapped lseek arguments. It worked regardless because SEEK_CUR happens to be 1. Modified: head/tools/regression/fifo/fifo_misc/fifo_misc.c

svn commit: r227126 - head/sys/dev/isp

2011-11-05 Thread Matt Jacob
Author: mjacob Date: Sun Nov 6 00:44:40 2011 New Revision: 227126 URL: http://svn.freebsd.org/changeset/base/227126 Log: Implement the sysctl's for fibre channel that are listed in the man page. MFC after:3 days Modified: head/sys/dev/isp/isp_freebsd.c

svn commit: r227127 - head/sys/vm

2011-11-05 Thread Alan Cox
Author: alc Date: Sun Nov 6 02:03:27 2011 New Revision: 227127 URL: http://svn.freebsd.org/changeset/base/227127 Log: Wake up the page daemon in vm_page_alloc_freelist() if it couldn't allocate the requested page because too few pages are cached or free. Document the VM_ALLOC_COUNT()

svn commit: r227128 - in stable/9: contrib/gcc gnu/usr.bin/cc

2011-11-05 Thread David E. O'Brien
Author: obrien Date: Sun Nov 6 02:10:40 2011 New Revision: 227128 URL: http://svn.freebsd.org/changeset/base/227128 Log: MFC: r226702 * Don't give the impression that this compiler is GPLv3. (It is well known that GCC 4.2.2 is GPLv3.) * Don't give the impression that this

svn commit: r227130 - head/sys/netgraph

2011-11-05 Thread Max Khon
Author: fjoe Date: Sun Nov 6 05:20:27 2011 New Revision: 227130 URL: http://svn.freebsd.org/changeset/base/227130 Log: Constify address argument of ng_address_path(). Modified: head/sys/netgraph/netgraph.h head/sys/netgraph/ng_base.c Modified: head/sys/netgraph/netgraph.h

svn commit: r227131 - head/sys/netgraph

2011-11-05 Thread Max Khon
Author: fjoe Date: Sun Nov 6 05:23:42 2011 New Revision: 227131 URL: http://svn.freebsd.org/changeset/base/227131 Log: Fix potential double mbuf free: M_PREPEND may free mbuf chain and return NULL but item will still have the reference ot the mbuf chain and will free it upon destruction.

svn commit: r227132 - head/sys/netgraph

2011-11-05 Thread Max Khon
Author: fjoe Date: Sun Nov 6 05:24:54 2011 New Revision: 227132 URL: http://svn.freebsd.org/changeset/base/227132 Log: - Fix potential double mbuf free: M_PREPEND may free mbuf chain and return NULL but item will still have the reference ot the mbuf chain and will free it upon destruction.