Re: svn commit: r231999 - head/sys/conf

2012-02-26 Thread Sergey Kandaurov
On 22 February 2012 19:05, Josh Paetzel jpaet...@freebsd.org wrote: Author: jpaetzel Date: Wed Feb 22 15:05:19 2012 New Revision: 231999 URL: http://svn.freebsd.org/changeset/base/231999 Log:  Fix various typos and normalize spelling. [...] @@ -602,7 +602,7 @@ options     FLOWTABLE  

svn commit: r232176 - head/sys/modules/scc

2012-02-26 Thread Justin Hibbits
Author: jhibbits Date: Sun Feb 26 13:27:22 2012 New Revision: 232176 URL: http://svn.freebsd.org/changeset/base/232176 Log: Fix the scc(4) module build. Without the file it's missing a required symbol. Approved by: nwhitehorn (mentor) MFC after:3 days Modified:

svn commit: r232177 - in head: etc/devd sys/conf sys/powerpc/conf sys/powerpc/powermac

2012-02-26 Thread Justin Hibbits
Author: jhibbits Date: Sun Feb 26 13:45:25 2012 New Revision: 232177 URL: http://svn.freebsd.org/changeset/base/232177 Log: Add backlight control to ATI-graphics PowerBooks and iBooks. Approved by: nwhitehorn (mentor) MFC after:1 week Added: head/sys/powerpc/powermac/atibl.c

svn commit: r232178 - head/sys/kern

2012-02-26 Thread Konstantin Belousov
Author: kib Date: Sun Feb 26 13:51:05 2012 New Revision: 232178 URL: http://svn.freebsd.org/changeset/base/232178 Log: Remove apparently redundand checks for socket so_proto being non-NULL from sosetopt() and sogetopt(). No exposed sockets may have so_proto invalid. Discussed with:

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

2012-02-26 Thread Konstantin Belousov
Author: kib Date: Sun Feb 26 13:55:43 2012 New Revision: 232179 URL: http://svn.freebsd.org/changeset/base/232179 Log: Add SO_PROTOCOL/SO_PROTOTYPE socket SOL_SOCKET-level option to get the socket protocol number. This is useful since the socket type can be implemented by different

svn commit: r232180 - head/lib/libc/sys

2012-02-26 Thread Konstantin Belousov
Author: kib Date: Sun Feb 26 13:57:24 2012 New Revision: 232180 URL: http://svn.freebsd.org/changeset/base/232180 Log: Document SO_PROTOCOL socket option. Discussed with: bz Reviewed by: glebius MFC after:2 weeks Modified: head/lib/libc/sys/getsockopt.2 Modified:

Re: svn commit: r232074 - head/sys/cam/ctl

2012-02-26 Thread Alexander Best
On Sat Feb 25 12, Bruce Evans wrote: On Fri, 24 Feb 2012, Alexander Best wrote: On Fri Feb 24 12, Dimitry Andric wrote: On 2012-02-24 10:38, Alexander Best wrote: which will turn all -Wformat-invalid-specifier and -Wformat-extra-args errors into warnings (because clang tot doesn't support

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

2012-02-26 Thread Mikolaj Golub
Author: trociny Date: Sun Feb 26 14:25:48 2012 New Revision: 232181 URL: http://svn.freebsd.org/changeset/base/232181 Log: Add sysctl to retrieve or set umask of another process. Submitted by: Dmitry Banschikov me ubique spb ru Discussed with: kib, rwatson Reviewed by: kib MFC

svn commit: r232182 - head/usr.bin/procstat

2012-02-26 Thread Mikolaj Golub
Author: trociny Date: Sun Feb 26 14:27:34 2012 New Revision: 232182 URL: http://svn.freebsd.org/changeset/base/232182 Log: When displaying security credential information show also process umask. Submitted by: Dmitry Banschikov me ubique spb ru Discussed with: rwatson MFC after:

svn commit: r232183 - head/sys/kern

2012-02-26 Thread Jilles Tjoelker
Author: jilles Date: Sun Feb 26 15:14:29 2012 New Revision: 232183 URL: http://svn.freebsd.org/changeset/base/232183 Log: Fix fchmod() and fchown() on fifos. The new fifo implementation in r232055 broke fchmod() and fchown() on fifos. Postfix needs this. Submitted by: gianni

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

2012-02-26 Thread Jilles Tjoelker
Author: jilles Date: Sun Feb 26 15:32:02 2012 New Revision: 232184 URL: http://svn.freebsd.org/changeset/base/232184 Log: Check fchmod()/fchown() in fifo_misc test. Modified: head/tools/regression/fifo/fifo_misc/fifo_misc.c Modified: head/tools/regression/fifo/fifo_misc/fifo_misc.c

svn commit: r232185 - head/sys/dev/dpt

2012-02-26 Thread Kevin Lo
Author: kevlo Date: Sun Feb 26 16:05:20 2012 New Revision: 232185 URL: http://svn.freebsd.org/changeset/base/232185 Log: Remove duplicate assignment of CTS_SPI_VALID_SYNC_RATE bit Modified: head/sys/dev/dpt/dpt_scsi.c Modified: head/sys/dev/dpt/dpt_scsi.c

svn commit: r232186 - in head: cddl/contrib/opensolaris/cmd/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/kern sys/sys usr.sbin/jail

2012-02-26 Thread Martin Matuska
Author: mm Date: Sun Feb 26 16:30:39 2012 New Revision: 232186 URL: http://svn.freebsd.org/changeset/base/232186 Log: Analogous to r232059, add a parameter for the ZFS file system: allow.mount.zfs: allow mounting the zfs filesystem inside a jail This way the permssions for

svn commit: r232187 - head/usr.bin/xargs

2012-02-26 Thread Jilles Tjoelker
Author: jilles Date: Sun Feb 26 17:39:46 2012 New Revision: 232187 URL: http://svn.freebsd.org/changeset/base/232187 Log: xargs: Fix comma splice in error message. Reported by: bde Modified: head/usr.bin/xargs/xargs.c Modified: head/usr.bin/xargs/xargs.c

svn commit: r232192 - head/sys/kern

2012-02-26 Thread Alan Cox
Author: alc Date: Sun Feb 26 19:10:14 2012 New Revision: 232192 URL: http://svn.freebsd.org/changeset/base/232192 Log: Fix typo. MFC after:1 week Modified: head/sys/kern/vfs_bio.c Modified: head/sys/kern/vfs_bio.c

Re: svn commit: r232183 - head/sys/kern

2012-02-26 Thread Giovanni Trematerra
On Sun, Feb 26, 2012 at 4:14 PM, Jilles Tjoelker jil...@freebsd.org wrote: Author: jilles Date: Sun Feb 26 15:14:29 2012 New Revision: 232183 URL: http://svn.freebsd.org/changeset/base/232183 Log:  Fix fchmod() and fchown() on fifos.  The new fifo implementation in r232055 broke fchmod()

Re: svn commit: r232183 - head/sys/kern

2012-02-26 Thread Ed Schouten
Hi Jilles, * Jilles Tjoelker jil...@freebsd.org, 20120226 16:14: +static int +pipe_chmod(fp, mode, active_cred, td) + struct file *fp; + mode_t mode; + struct ucred *active_cred; + struct thread *td; +{ + struct pipe *cpipe; + int error; + + cpipe = fp

svn commit: r232199 - head/sys/x86/cpufreq

2012-02-26 Thread Alexander Kabaev
Author: kan Date: Sun Feb 26 21:24:27 2012 New Revision: 232199 URL: http://svn.freebsd.org/changeset/base/232199 Log: Fix apparent logic reversal in setting the 'auto_mode' flag. MFC after: 2 weeks Modified: head/sys/x86/cpufreq/p4tcc.c Modified: head/sys/x86/cpufreq/p4tcc.c

svn commit: r232200 - in head/usr.sbin/bsdinstall: distextract distfetch

2012-02-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Feb 26 22:09:21 2012 New Revision: 232200 URL: http://svn.freebsd.org/changeset/base/232200 Log: Fix segfault if distfetch and distextract binaries are run standalone without the DISTRIBUTIONS environment variable set. PR: bin/165492 Submitted by:

Re: svn commit: r232183 - head/sys/kern

2012-02-26 Thread Giovanni Trematerra
On Sun, Feb 26, 2012 at 10:12 PM, Ed Schouten e...@80386.nl wrote: Hi Jilles, * Jilles Tjoelker jil...@freebsd.org, 20120226 16:14: +static int +pipe_chmod(fp, mode, active_cred, td) +     struct file *fp; +     mode_t mode; +     struct ucred *active_cred; +     struct thread *td

svn commit: r232201 - head/usr.bin/xargs

2012-02-26 Thread Jilles Tjoelker
Author: jilles Date: Sun Feb 26 23:06:30 2012 New Revision: 232201 URL: http://svn.freebsd.org/changeset/base/232201 Log: xargs: Remove an unclear comment that only tried to repeat what the code did Reported by: bde Modified: head/usr.bin/xargs/xargs.c Modified:

Re: svn commit: r232108 - head/usr.bin/xargs

2012-02-26 Thread Jilles Tjoelker
On Sat, Feb 25, 2012 at 09:10:04AM +1100, Bruce Evans wrote: On Fri, 24 Feb 2012, Jilles Tjoelker wrote: On Sat, Feb 25, 2012 at 04:27:35AM +1100, Bruce Evans wrote: ... Utilities are quite broken near here too: - under -current: - utilities still don't support signals = 32, but

Re: svn commit: r232074 - head/sys/cam/ctl

2012-02-26 Thread Pawel Worach
On Feb 24, 2012, at 12:09, Dimitry Andric wrote: On 2012-02-24 10:38, Alexander Best wrote: is the clang version in base able to do complete universe builds for i386 and amd64 without the need for NO_WERROR= and WERROR= now? universe means all arches, and all kernel configs, so no. The

Re: svn commit: r232108 - head/usr.bin/xargs

2012-02-26 Thread Bruce Evans
On Mon, 27 Feb 2012, Jilles Tjoelker wrote: On Sat, Feb 25, 2012 at 09:10:04AM +1100, Bruce Evans wrote: On Fri, 24 Feb 2012, Jilles Tjoelker wrote: I don't think xargs should work around that bug, particularly not by introducing unspecified behaviour (the value of WTERMSIG(x) when

svn commit: r232202 - head/usr.sbin/cron/crontab

2012-02-26 Thread Xin LI
Author: delphij Date: Mon Feb 27 05:49:00 2012 New Revision: 232202 URL: http://svn.freebsd.org/changeset/base/232202 Log: Drop setuid status while doing file operations to prevent potential information leak. This changeset is intended to be a minimal one to make backports easier.