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

2012-02-29 Thread Bruce Evans
On Wed, 29 Feb 2012, Dimitry Andric wrote: On 2012-02-28 23:11, Giovanni Trematerra wrote: On Tue, Feb 28, 2012 at 10:45 PM, Dimitry Andric wrote: ... It introduces a style(9) violation, though. I think it should be in this way pipe_chmod(struct file *fp, mode_t mode, struct ucred *active_c

Re: svn commit: r232261 - in head/sys: amd64/include i386/include pc98/include x86/include

2012-02-29 Thread Andriy Gapon
on 28/02/2012 20:15 Tijl Coosemans said the following: > Author: tijl > Date: Tue Feb 28 18:15:28 2012 > New Revision: 232261 > URL: http://svn.freebsd.org/changeset/base/232261 > > Log: > Copy amd64 _types.h to x86 and merge with i386 _types.h. Replace existing > amd64/i386/pc98 _types.h with

Re: svn commit: r232238 - in head: share/man/man4 sys/dev/e1000 sys/dev/ixgbe sys/dev/netmap sys/dev/re sys/net tools/tools/netmap

2012-02-29 Thread Slawa Olhovchenkov
On Tue, Feb 28, 2012 at 10:58:56PM +0100, Luigi Rizzo wrote: > On Wed, Feb 29, 2012 at 12:35:23AM +0400, Slawa Olhovchenkov wrote: > ... > > > > > ?3. The two changes above unfortunately require an API change, so > > > > > while > > > > > ? ? at it add a version field and some spares to the ioctl

Re: svn commit: r232238 - in head: share/man/man4 sys/dev/e1000 sys/dev/ixgbe sys/dev/netmap sys/dev/re sys/net tools/tools/netmap

2012-02-29 Thread Luigi Rizzo
On Wed, Feb 29, 2012 at 01:14:33PM +0400, Slawa Olhovchenkov wrote: > On Tue, Feb 28, 2012 at 10:58:56PM +0100, Luigi Rizzo wrote: > > > On Wed, Feb 29, 2012 at 12:35:23AM +0400, Slawa Olhovchenkov wrote: > > ... > > > > > > ?3. The two changes above unfortunately require an API change, so > > >

Re: svn commit: r232238 - in head: share/man/man4 sys/dev/e1000 sys/dev/ixgbe sys/dev/netmap sys/dev/re sys/net tools/tools/netmap

2012-02-29 Thread Slawa Olhovchenkov
On Wed, Feb 29, 2012 at 10:51:26AM +0100, Luigi Rizzo wrote: > On Wed, Feb 29, 2012 at 01:14:33PM +0400, Slawa Olhovchenkov wrote: > > On Tue, Feb 28, 2012 at 10:58:56PM +0100, Luigi Rizzo wrote: > > > > > On Wed, Feb 29, 2012 at 12:35:23AM +0400, Slawa Olhovchenkov wrote: > > > ... > > > > > > >

Re: svn commit: r232238 - in head: share/man/man4 sys/dev/e1000 sys/dev/ixgbe sys/dev/netmap sys/dev/re sys/net tools/tools/netmap

2012-02-29 Thread Luigi Rizzo
On Wed, Feb 29, 2012 at 01:46:03PM +0400, Slawa Olhovchenkov wrote: > On Wed, Feb 29, 2012 at 10:51:26AM +0100, Luigi Rizzo wrote: > > > On Wed, Feb 29, 2012 at 01:14:33PM +0400, Slawa Olhovchenkov wrote: > > > On Tue, Feb 28, 2012 at 10:58:56PM +0100, Luigi Rizzo wrote: > > > > > > > On Wed, Feb

Re: svn commit: r232238 - in head: share/man/man4 sys/dev/e1000 sys/dev/ixgbe sys/dev/netmap sys/dev/re sys/net tools/tools/netmap

2012-02-29 Thread Slawa Olhovchenkov
On Wed, Feb 29, 2012 at 11:08:25AM +0100, Luigi Rizzo wrote: > On Wed, Feb 29, 2012 at 01:46:03PM +0400, Slawa Olhovchenkov wrote: > > On Wed, Feb 29, 2012 at 10:51:26AM +0100, Luigi Rizzo wrote: > > > > > On Wed, Feb 29, 2012 at 01:14:33PM +0400, Slawa Olhovchenkov wrote: > > > > On Tue, Feb 28,

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

2012-02-29 Thread Robert N. M. Watson
On 29 Feb 2012, at 07:50, Mikolaj Golub wrote: > JE> well that's exactly what I AM questioning.. how often will this be used? > JE> one person using this once in all of history isn't a real requirement > JE> for inclusion. > > This information may be very useful when troubleshooting unexpected

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

2012-02-29 Thread Mikolaj Golub
On Wed, 29 Feb 2012 12:03:00 + Robert N. M. Watson wrote: RNMW> I think the monitoring aspect of the patch is fine. RNMW> The bit I was worried about was external umask changes. This can cause RNMW> race conditions for applications that manage their umask -- for RNMW> example, bsdtar, if

svn commit: r232295 - in head/sys/arm: mv xscale/i8134x

2012-02-29 Thread Olivier Houchard
Author: cognet Date: Wed Feb 29 12:44:34 2012 New Revision: 232295 URL: http://svn.freebsd.org/changeset/base/232295 Log: Make sure we do not provide the page 0 to the VM. It can't handle it properly, because pmap_extract() returns 0 when there's no mapping. PR: arm/154227 MFC

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

2012-02-29 Thread Konstantin Belousov
On Wed, Feb 29, 2012 at 02:37:25PM +0200, Mikolaj Golub wrote: > > On Wed, 29 Feb 2012 12:03:00 + Robert N. M. Watson wrote: > > RNMW> I think the monitoring aspect of the patch is fine. > > RNMW> The bit I was worried about was external umask changes. This can cause > RNMW> race conditio

svn commit: r232296 - head/sys/fs/nullfs

2012-02-29 Thread Konstantin Belousov
Author: kib Date: Wed Feb 29 14:43:27 2012 New Revision: 232296 URL: http://svn.freebsd.org/changeset/base/232296 Log: Merge a split multi-line comment. MFC after:1 week Modified: head/sys/fs/nullfs/null_subr.c Modified: head/sys/fs/nullfs/null_subr.c ===

svn commit: r232297 - head/usr.sbin/tzsetup

2012-02-29 Thread Ed Maste
Author: emaste Date: Wed Feb 29 14:44:42 2012 New Revision: 232297 URL: http://svn.freebsd.org/changeset/base/232297 Log: Grammar: tzsetup now has more than one option. Modified: head/usr.sbin/tzsetup/tzsetup.8 Modified: head/usr.sbin/tzsetup/tzsetup.8 ===

svn commit: r232299 - head/sys/fs/nullfs

2012-02-29 Thread Konstantin Belousov
Author: kib Date: Wed Feb 29 15:06:00 2012 New Revision: 232299 URL: http://svn.freebsd.org/changeset/base/232299 Log: Move the code to destroy half-contructed nullfs vnode into helper function null_destroy_proto() from null_insmntque_dtr(). Also apply null_destroy_proto() in null_nodeget()

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

2012-02-29 Thread Sergey Kandaurov
Author: pluknet Date: Wed Feb 29 15:06:40 2012 New Revision: 232300 URL: http://svn.freebsd.org/changeset/base/232300 Log: Update the description for -s flag after r232182. When displaying security credential information show also process umask. X-MFC-with: r232182 Modified: head/usr

svn commit: r232301 - head/sys/fs/nullfs

2012-02-29 Thread Konstantin Belousov
Author: kib Date: Wed Feb 29 15:09:20 2012 New Revision: 232301 URL: http://svn.freebsd.org/changeset/base/232301 Log: Always request exclusive lock for the lower vnode in nullfs_vget(). The null_nodeget() requires exclusive lock on lowervp to be able to insmntque() new vnode. Reported

svn commit: r232303 - head/sys/fs/nullfs

2012-02-29 Thread Konstantin Belousov
Author: kib Date: Wed Feb 29 15:15:36 2012 New Revision: 232303 URL: http://svn.freebsd.org/changeset/base/232303 Log: In null_reclaim(), assert that reclaimed vnode is fully constructed, instead of accepting half-constructed vnode. Previous code cannot decide what to do with such vnode anyw

svn commit: r232304 - head/sys/fs/nullfs

2012-02-29 Thread Konstantin Belousov
Author: kib Date: Wed Feb 29 15:18:04 2012 New Revision: 232304 URL: http://svn.freebsd.org/changeset/base/232304 Log: Document that null_nodeget() cannot take shared-locked lowervp due to insmntque() requirements. Tested by:pho MFC after:1 week Modified: head/sys/fs/nullfs/n

svn commit: r232305 - head/sys/fs/nullfs

2012-02-29 Thread Konstantin Belousov
Author: kib Date: Wed Feb 29 15:18:53 2012 New Revision: 232305 URL: http://svn.freebsd.org/changeset/base/232305 Log: Allow shared locks for reads when lower filesystem accept shared locking. Tested by:pho MFC after:1 week Modified: head/sys/fs/nullfs/null_vfsops.c Modified:

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

2012-02-29 Thread John Baldwin
On Wednesday, February 29, 2012 8:25:07 am Konstantin Belousov wrote: > On Wed, Feb 29, 2012 at 02:37:25PM +0200, Mikolaj Golub wrote: > > > > On Wed, 29 Feb 2012 12:03:00 + Robert N. M. Watson wrote: > > > > RNMW> I think the monitoring aspect of the patch is fine. > > > > RNMW> The bit I

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

2012-02-29 Thread Konstantin Belousov
On Wed, Feb 29, 2012 at 09:36:02AM -0500, John Baldwin wrote: > On Wednesday, February 29, 2012 8:25:07 am Konstantin Belousov wrote: > > On Wed, Feb 29, 2012 at 02:37:25PM +0200, Mikolaj Golub wrote: > > > > > > On Wed, 29 Feb 2012 12:03:00 + Robert N. M. Watson wrote: > > > > > > RNMW> I t

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

2012-02-29 Thread Martin Matuska
Author: mm Date: Wed Feb 29 16:16:36 2012 New Revision: 232307 URL: http://svn.freebsd.org/changeset/base/232307 Log: Add "export" to devfs_opts[] and return EOPNOTSUPP if called with it. Fixes mountd warnings. Reported by: kib MFC after:1 week Modified: head/sys/fs/devfs/devfs_

svn commit: r232308 - head/sys/xen/interface/io

2012-02-29 Thread Justin T. Gibbs
Author: gibbs Date: Wed Feb 29 17:47:01 2012 New Revision: 232308 URL: http://svn.freebsd.org/changeset/base/232308 Log: blkif interface comment cleanups. No functional changes sys/xen/interface/io/blkif.h: o Insert space in "Red Hat". o Fix typo "discard-aligment" -> "discard-alignm

svn commit: r232309 - head/sys/boot/i386/libi386

2012-02-29 Thread Jung-uk Kim
Author: jkim Date: Wed Feb 29 18:11:33 2012 New Revision: 232309 URL: http://svn.freebsd.org/changeset/base/232309 Log: Fix a long standing bug. The caller expects a non-zero value for success. Luckily keyboard probing was turned off by default from the first revision. Submitted by: Alex

Re: svn commit: r232309 - head/sys/boot/i386/libi386

2012-02-29 Thread Alexey Dokuchaev
On Wed, Feb 29, 2012 at 06:11:34PM +, Jung-uk Kim wrote: > Author: jkim > Date: Wed Feb 29 18:11:33 2012 > New Revision: 232309 > URL: http://svn.freebsd.org/changeset/base/232309 > > Log: > Fix a long standing bug. The caller expects a non-zero value for success. > Luckily keyboard probi

Re: svn commit: r232309 - head/sys/boot/i386/libi386

2012-02-29 Thread Jung-uk Kim
On Wednesday 29 February 2012 01:23 pm, Alexey Dokuchaev wrote: > On Wed, Feb 29, 2012 at 06:11:34PM +, Jung-uk Kim wrote: > > Author: jkim > > Date: Wed Feb 29 18:11:33 2012 > > New Revision: 232309 > > URL: http://svn.freebsd.org/changeset/base/232309 > > > > Log: > > Fix a long standing bu

svn commit: r232311 - head/share/man/man5

2012-02-29 Thread Dimitry Andric
Author: dim Date: Wed Feb 29 19:18:32 2012 New Revision: 232311 URL: http://svn.freebsd.org/changeset/base/232311 Log: Regenerate src.conf(5) after r231530 (and to correct a little screwup with the WITH_CLANG_EXTRAS fragment I added). Modified: head/share/man/man5/src.conf.5 Modified: head

svn commit: r232312 - head/tools/regression/security/cap_test

2012-02-29 Thread Christian Brueffer
Author: brueffer Date: Wed Feb 29 19:50:49 2012 New Revision: 232312 URL: http://svn.freebsd.org/changeset/base/232312 Log: Fix order of arguments to lseek(). PR: 160867 Submitted by: Henning Petersen MFC after:1 week Modified: head/tools/regression/security/cap_test/c

svn commit: r232313 - head/share/misc

2012-02-29 Thread Sergey Kandaurov
Author: pluknet Date: Wed Feb 29 20:13:53 2012 New Revision: 232313 URL: http://svn.freebsd.org/changeset/base/232313 Log: Add myself, and show marck@ as my mentor. Approved by: marck (mentor) Modified: head/share/misc/committers-doc.dot Modified: head/share/misc/committers-doc.dot ===

svn commit: r232315 - head/sys/net

2012-02-29 Thread Andrew Thompson
Author: thompsa Date: Wed Feb 29 20:58:21 2012 New Revision: 232315 URL: http://svn.freebsd.org/changeset/base/232315 Log: Use a more appropriate default for the maximum number of addresses in the bridge forwarding table. PR: docs/164564 Discussed with: brueffer Modifie

svn commit: r232316 - head/sbin/ifconfig

2012-02-29 Thread Christian Brueffer
Author: brueffer Date: Wed Feb 29 21:11:02 2012 New Revision: 232316 URL: http://svn.freebsd.org/changeset/base/232316 Log: Update bridge(4) default values. PR: 164564 Submitted by: "Rudy (bulk)" MFC after:2 weeks Modified: head/sbin/ifconfig/ifconfig.8 Modified: head

svn commit: r232317 - in head: . sys/kern sys/sys

2012-02-29 Thread Mikolaj Golub
2012(r232316) +++ head/UPDATING Wed Feb 29 21:38:31 2012(r232317) @@ -22,6 +22,14 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 10 machines to maximize performance. (To disable malloc debugging, run ln -s aj /etc/malloc.conf.) +20120229: + Now unix domain sockets behav

svn commit: r232318 - head/sys/dev/pci

2012-02-29 Thread John Baldwin
Author: jhb Date: Wed Feb 29 22:06:44 2012 New Revision: 232318 URL: http://svn.freebsd.org/changeset/base/232318 Log: Use pci_printf() instead of a home-rolled version in the VPD parsing code. Modified: head/sys/dev/pci/pci.c Modified: head/sys/dev/pci/pci.c

svn commit: r232320 - head/usr.bin/csup

2012-02-29 Thread Olivier Houchard
Author: cognet Date: Wed Feb 29 22:35:09 2012 New Revision: 232320 URL: http://svn.freebsd.org/changeset/base/232320 Log: Use srandom() to init the PRNG, not srand(), since we use random(). This is harmless because srandom() is called somewhere else, with time(NULL) as a seed, but this is mo

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

2012-02-29 Thread Andrew Thompson
Author: thompsa Date: Wed Feb 29 22:41:40 2012 New Revision: 232321 URL: http://svn.freebsd.org/changeset/base/232321 Log: Correct the description for CTLFLAG_TUN and CTLFLAG_RDTUN, the declaring of a system tunable has never been implemented. This flag is only used by sysctl(8) to provide a

svn commit: r232322 - in head: . gnu/usr.bin/cc/c++ gnu/usr.bin/cc/cc gnu/usr.bin/cc/cpp share/mk sys/conf tools/build/options usr.bin/clang/clang

2012-02-29 Thread Dimitry Andric
Author: dim Date: Wed Feb 29 22:58:51 2012 New Revision: 232322 URL: http://svn.freebsd.org/changeset/base/232322 Log: Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, that installs clang as /usr/bin/cc, /usr/bin/c++ and /usr/bin/cpp. Note this does *not* disable buildi

svn commit: r232323 - head/share/man/man5

2012-02-29 Thread Dimitry Andric
Author: dim Date: Wed Feb 29 23:06:48 2012 New Revision: 232323 URL: http://svn.freebsd.org/changeset/base/232323 Log: Regenerate src.conf(5) after r232322. MFC after:2 weeks Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 ==

Re: svn commit: r232317 - in head: . sys/kern sys/sys

2012-02-29 Thread Bjoern A. Zeeb
On 29. Feb 2012, at 21:38 , Mikolaj Golub wrote: > Author: trociny > Date: Wed Feb 29 21:38:31 2012 > New Revision: 232317 > URL: http://svn.freebsd.org/changeset/base/232317 > > Log: > Introduce VOP_UNP_BIND(), VOP_UNP_CONNECT(), and VOP_UNP_DETACH() > operations for setting and accessing vno

svn commit: r232327 - in head/sys: fs/nfsclient nfsclient

2012-02-29 Thread Rick Macklem
Author: rmacklem Date: Thu Mar 1 03:53:07 2012 New Revision: 232327 URL: http://svn.freebsd.org/changeset/base/232327 Log: Fix the NFS clients so that they use copyin() instead of bcopy(), when doing direct I/O. This direct I/O code is not enabled by default. Submitted by: kib (earlier v

Re: svn commit: r232317 - in head: . sys/kern sys/sys

2012-02-29 Thread Mikolaj Golub
On Wed, 29 Feb 2012 23:44:47 + Bjoern A. Zeeb wrote: BAZ> On 29. Feb 2012, at 21:38 , Mikolaj Golub wrote: >> Author: trociny >> Date: Wed Feb 29 21:38:31 2012 >> New Revision: 232317 >> URL: http://svn.freebsd.org/changeset/base/232317 >> >> Log: >> Introduce VOP_UNP_BIND(), VOP_U

Re: svn commit: r232321 - head/share/man/man9

2012-02-29 Thread Andrey Zonov
On 01.03.2012 2:41, Andrew Thompson wrote: Author: thompsa Date: Wed Feb 29 22:41:40 2012 New Revision: 232321 URL: http://svn.freebsd.org/changeset/base/232321 Log: Correct the description for CTLFLAG_TUN and CTLFLAG_RDTUN, the declaring of a system tunable has never been implemented. Thi