svn commit: r230609 - head/share/man/man4

2012-01-27 Thread Gleb Smirnoff
Author: glebius Date: Fri Jan 27 08:46:32 2012 New Revision: 230609 URL: http://svn.freebsd.org/changeset/base/230609 Log: Do not mention SIOCSIFADDR. Modified: head/share/man/man4/lo.4 Modified: head/share/man/man4/lo.4

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

2012-01-27 Thread Bruce Evans
On Thu, 26 Jan 2012, Gleb Smirnoff wrote: On Thu, Jan 26, 2012 at 11:53:57PM +1100, Bruce Evans wrote: B @@ -1552,6 +1552,12 @@ aio_aqueue(struct thread *td, struct aio B return (error); B } B B +/* XXX: aio_nbytes is later casted to signed types. */ B +if

svn commit: r230610 - head/sys/kern

2012-01-27 Thread Gleb Smirnoff
Author: glebius Date: Fri Jan 27 08:58:58 2012 New Revision: 230610 URL: http://svn.freebsd.org/changeset/base/230610 Log: Fix size check, that prevents getting negative after casting to a signed type Reviewed by: bde Modified: head/sys/kern/vfs_aio.c Modified:

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

2012-01-27 Thread Kostik Belousov
On Fri, Jan 27, 2012 at 07:50:30PM +1100, Bruce Evans wrote: On Thu, 26 Jan 2012, Gleb Smirnoff wrote: On Thu, Jan 26, 2012 at 11:53:57PM +1100, Bruce Evans wrote: B @@ -1552,6 +1552,12 @@ aio_aqueue(struct thread *td, struct aio B return (error); B } B B +

svn commit: r230611 - head/usr.sbin/mixer

2012-01-27 Thread Alexander Motin
Author: mav Date: Fri Jan 27 09:15:55 2012 New Revision: 230611 URL: http://svn.freebsd.org/changeset/base/230611 Log: Return proper error message if recording device is not specified. MFC after:1 week Modified: head/usr.sbin/mixer/mixer.c Modified: head/usr.sbin/mixer/mixer.c

Re: svn commit: r230516 - in head/sys: fs/nfsclient nfsclient

2012-01-27 Thread Bruce Evans
On Thu, 26 Jan 2012, Rick Macklem wrote: Bruce Evans wrote: Doesn't umount -f have to wait for i/o anyway? When it closes files, it must wait for all in-progress i/o for the files, and for all new i/o's that result from closing. umount -f kills off RPCs in progress. There was an email

Re: svn commit: r230230 - head/sys/dev/random

2012-01-27 Thread Bruce Evans
On Thu, 26 Jan 2012, Andrey Chernov wrote: On Thu, Jan 26, 2012 at 11:32:38AM -0500, John Baldwin wrote: Atomics don't operate on enums. You'll need to make it an int and just use #define's for the 3 states. This restores some style bugs and keeps old ones. --- sys/libkern.h.old

Re: svn commit: r230572 - in head/sys/dev: ixgbe netmap

2012-01-27 Thread Bruce Evans
On Thu, 26 Jan 2012, Alan Cox wrote: On 01/26/2012 03:55, Luigi Rizzo wrote: Log: ... Netmap-related changes for ixgbe: ... +#define NKR_PENDINTR 0x1 // Pending interrupt. u_int nkr_num_slots; int nkr_hwofs; /* offset between NIC and netmap ring */

svn commit: r230612 - head/sbin/mdconfig

2012-01-27 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Jan 27 11:48:44 2012 New Revision: 230612 URL: http://svn.freebsd.org/changeset/base/230612 Log: Rewrite option parsing in mdconfig(8). This makes it more user-friendly by removing the ordering requirements and adding more descriptive error messages; it also makes

Re: svn commit: r230572 - in head/sys/dev: ixgbe netmap

2012-01-27 Thread Luigi Rizzo
On Fri, Jan 27, 2012 at 08:45:40PM +1100, Bruce Evans wrote: On Thu, 26 Jan 2012, Alan Cox wrote: On 01/26/2012 03:55, Luigi Rizzo wrote: Log: ... Netmap-related changes for ixgbe: ... +#define NKR_PENDINTR 0x1 // Pending interrupt. u_int nkr_num_slots; int

svn commit: r230618 - stable/9/sys/dev/iwn

2012-01-27 Thread Bernhard Schmidt
Author: bschmidt Date: Fri Jan 27 17:29:59 2012 New Revision: 230618 URL: http://svn.freebsd.org/changeset/base/230618 Log: MFC r229375: Don't rely on MCS7 being at index 7 while determining the amount of antennas to use. Not all APs enable all MCS rates. Modified:

svn commit: r230619 - stable/9/sys/net80211

2012-01-27 Thread Bernhard Schmidt
Author: bschmidt Date: Fri Jan 27 17:32:50 2012 New Revision: 230619 URL: http://svn.freebsd.org/changeset/base/230619 Log: MFC r229284: MCS32 equals 32, not 8*ic_txstream. Modified: stable/9/sys/net80211/ieee80211_ht.c Directory Properties: stable/9/sys/ (props changed) Modified:

svn commit: r230621 - in stable/6: contrib/telnet/libtelnet crypto/heimdal/appl/telnet/libtelnet

2012-01-27 Thread Ed Maste
Author: emaste Date: Fri Jan 27 18:21:40 2012 New Revision: 230621 URL: http://svn.freebsd.org/changeset/base/230621 Log: MFC r228843: Fix a buffer overflow in telnetd. [11:08] Modified: stable/6/contrib/telnet/libtelnet/encrypt.c

svn commit: r230622 - head

2012-01-27 Thread Dimitry Andric
Author: dim Date: Fri Jan 27 18:29:03 2012 New Revision: 230622 URL: http://svn.freebsd.org/changeset/base/230622 Log: When the buildkernel stage 2.3 (build tools) runs, the PATH is still set to the default from the top-level Makefile. Therefore, invocations of lex and yacc (used during

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

2012-01-27 Thread David Schultz
On Fri, Jan 27, 2012, Kostik Belousov wrote: On Fri, Jan 27, 2012 at 07:50:30PM +1100, Bruce Evans wrote: On Thu, 26 Jan 2012, Gleb Smirnoff wrote: On Thu, Jan 26, 2012 at 11:53:57PM +1100, Bruce Evans wrote: B @@ -1552,6 +1552,12 @@ aio_aqueue(struct thread *td, struct aio B

svn commit: r230623 - in head/sys: amd64/amd64 cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs sys vm

2012-01-27 Thread Kip Macy
Author: kmacy Date: Fri Jan 27 20:18:31 2012 New Revision: 230623 URL: http://svn.freebsd.org/changeset/base/230623 Log: exclude kmem_alloc'ed ARC data buffers from kernel minidumps on amd64 excluding other allocations including UMA now entails the addition of a single flag to kmem_alloc or

svn commit: r230624 - in stable/9: bin/sh tools/regression/bin/sh/builtins

2012-01-27 Thread Jilles Tjoelker
Author: jilles Date: Fri Jan 27 20:53:37 2012 New Revision: 230624 URL: http://svn.freebsd.org/changeset/base/230624 Log: MFC r230095: sh: Properly show Not a directory error in cd builtin. The errno message display added in r92 did not take attempting to cd to a non-directory or

svn commit: r230626 - head/sys/dev/pccbb

2012-01-27 Thread Warner Losh
Author: imp Date: Fri Jan 27 21:49:02 2012 New Revision: 230626 URL: http://svn.freebsd.org/changeset/base/230626 Log: Some laptops have weak power controllers that cannot tolerate multiple cards powering up at once. Work around the easy case (multiple cards inserted on boot) with a short

svn commit: r230627 - head/sys/dev/ata/chipsets

2012-01-27 Thread Marius Strobl
Author: marius Date: Fri Jan 27 21:52:59 2012 New Revision: 230627 URL: http://svn.freebsd.org/changeset/base/230627 Log: Using ATA_CAM along with ATAPI DMA causes data corruption with ALI_NEW and CMD controllers for reasons unknown so disable it. PR: 164226 Modified:

svn commit: r230628 - head/sys/sparc64/include

2012-01-27 Thread Marius Strobl
Author: marius Date: Fri Jan 27 22:04:43 2012 New Revision: 230628 URL: http://svn.freebsd.org/changeset/base/230628 Log: Mark cpu_{halt,reset}() as __dead2 as appropriate. Modified: head/sys/sparc64/include/cpu.h Modified: head/sys/sparc64/include/cpu.h

svn commit: r230631 - head/sys/dev/ofw

2012-01-27 Thread Marius Strobl
Author: marius Date: Fri Jan 27 22:29:29 2012 New Revision: 230631 URL: http://svn.freebsd.org/changeset/base/230631 Log: Implement OF_printf() using kvprintf() directly, avoiding to use a buffer and allowing to handle newlines properly Modified: head/sys/dev/ofw/openfirm.c Modified:

svn commit: r230633 - in head/sys/sparc64: include sparc64

2012-01-27 Thread Marius Strobl
Author: marius Date: Fri Jan 27 23:21:54 2012 New Revision: 230633 URL: http://svn.freebsd.org/changeset/base/230633 Log: Now that we have a working OF_printf() since r230631 and a OF_panic() helper since r230632, use these for output and panicing during the early cycles and move cninit()

svn commit: r230635 - head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid

2012-01-27 Thread Pedro F. Giffuni
Author: pfg Date: Sat Jan 28 00:17:17 2012 New Revision: 230635 URL: http://svn.freebsd.org/changeset/base/230635 Log: Set SVN text/plain property for some shell scripts that happen to have a .exe extension. While here fix the shebang of a shell script that was looking for /bin/bash.

svn commit: r230636 - head/sys/dev/hwpmc

2012-01-27 Thread Ed Maste
Author: emaste Date: Sat Jan 28 01:38:48 2012 New Revision: 230636 URL: http://svn.freebsd.org/changeset/base/230636 Log: pmc_*_initialize may return NULL if the CPU is not supported, so check that md is not null before dereferencing it. PR: kern/156540 Modified:

svn commit: r230637 - stable/9/sys/fs/nfsserver

2012-01-27 Thread Rick Macklem
Author: rmacklem Date: Sat Jan 28 01:45:19 2012 New Revision: 230637 URL: http://svn.freebsd.org/changeset/base/230637 Log: MFC: r230100 Tai Horgan reported via email that there were two places in the new NFSv4 server where the code follows the wrong list. Fortunately, for these fairly

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

2012-01-27 Thread Rick Macklem
Author: rmacklem Date: Sat Jan 28 02:18:50 2012 New Revision: 230638 URL: http://svn.freebsd.org/changeset/base/230638 Log: MFC: r230100 Tai Horgan reported via email that there were two places in the new NFSv4 server where the code follows the wrong list. Fortunately, for these fairly

svn commit: r230640 - head/etc/devd

2012-01-27 Thread Justin Hibbits
Author: jhibbits Date: Sat Jan 28 02:52:22 2012 New Revision: 230640 URL: http://svn.freebsd.org/changeset/base/230640 Log: Remove the notify match from a couple devd apple events, the events don't include notify tags. Approved by: nwhitehorn (mentor) MFC after:3 days Modified:

Re: svn commit: r230482 - head/release

2012-01-27 Thread Nathan Whitehorn
I think we didn't make PC98 release media for 9.0, but that's a good point. I'm out of commission right now due to an injury, so patches would be welcome. -Nathan On Jan 23, 2012, at 10:03 AM, Ed Schouten wrote: Hi Nathan, * Nathan Whitehorn nwhiteh...@freebsd.org, 20120123 16:44:

Re: svn commit: r230230 - head/sys/dev/random

2012-01-27 Thread Andrey Chernov
On Fri, Jan 27, 2012 at 08:34:35PM +1100, Bruce Evans wrote: On Thu, 26 Jan 2012, Andrey Chernov wrote: On Thu, Jan 26, 2012 at 11:32:38AM -0500, John Baldwin wrote: Atomics don't operate on enums. You'll need to make it an int and just use #define's for the 3 states. This restores

Re: svn commit: r230230 - head/sys/dev/random

2012-01-27 Thread Andrey Chernov
New verson addressed bde's style things: --- sys/libkern.h.old 2012-01-16 07:15:12.0 +0400 +++ sys/libkern.h 2012-01-28 08:49:19.0 +0400 @@ -70,6 +70,11 @@ static __inline int abs(int a) { return static __inline long labs(long a) { return (a 0 ? -a : a); } static

Re: svn commit: r230230 - head/sys/dev/random

2012-01-27 Thread Bruce Evans
On Sat, 28 Jan 2012, Andrey Chernov wrote: New verson addressed bde's style things: Thanks, but ... --- sys/libkern.h.old 2012-01-16 07:15:12.0 +0400 +++ sys/libkern.h 2012-01-28 08:49:19.0 +0400 @@ -70,6 +70,11 @@ static __inline int abs(int a) { return static