svn commit: r241021 - in head: cddl/contrib/opensolaris/lib/libdtrace/common cddl/contrib/opensolaris/lib/libzfs/common contrib/telnet/telnetd usr.bin/csup usr.sbin/pkg_install/lib usr.sbin/pw

2012-09-28 Thread Kevin Lo
Author: kevlo Date: Fri Sep 28 07:51:30 2012 New Revision: 241021 URL: http://svn.freebsd.org/changeset/base/241021 Log: Make sure that each va_start has one and only one matching va_end, especially in error cases. Modified: head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c hea

svn commit: r241022 - head/sys/geom

2012-09-28 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Sep 28 08:22:51 2012 New Revision: 241022 URL: http://svn.freebsd.org/changeset/base/241022 Log: Remove the topology lock from disk_gone(), it might be called with regular mutexes held and the topology lock is an sx lock. The topology lock was there to protect traver

svn commit: r241023 - head/sys/boot/common

2012-09-28 Thread Andrey V. Elsukov
Author: ae Date: Fri Sep 28 10:49:41 2012 New Revision: 241023 URL: http://svn.freebsd.org/changeset/base/241023 Log: Make the loader a bit smarter, when it tries to open disk and the slice number is not exactly specified. When the disk has MBR, also try to read BSD label after ptable_getpar

svn commit: r241024 - head/usr.sbin/portsnap/portsnap

2012-09-28 Thread Isabell Long
Author: issyl0 (doc committer) Date: Fri Sep 28 11:11:42 2012 New Revision: 241024 URL: http://svn.freebsd.org/changeset/base/241024 Log: Add a note to portsnap(8) about the behaviour of the example cron command. PR: docs/171759 Submitted by: Paul Hoffman (phoffman at proper dot

svn commit: r241025 - in head/sys: compat/linux fs/coda fs/nfsserver kern nfsserver vm

2012-09-28 Thread Konstantin Belousov
Author: kib Date: Fri Sep 28 11:25:02 2012 New Revision: 241025 URL: http://svn.freebsd.org/changeset/base/241025 Log: Fix the mis-handling of the VV_TEXT on the nullfs vnodes. If you have a binary on a filesystem which is also mounted over by nullfs, you could execute the binary from the

Re: svn commit: r241024 - head/usr.sbin/portsnap/portsnap

2012-09-28 Thread Ruslan Mahmatkhanov
Isabell Long wrote on 28.09.2012 15:11: Author: issyl0 (doc committer) Date: Fri Sep 28 11:11:42 2012 New Revision: 241024 URL: http://svn.freebsd.org/changeset/base/241024 Log: Add a note to portsnap(8) about the behaviour of the example cron command. [ ...] +.Pp +Note that running +.Nm +

svn commit: r241026 - head/usr.sbin/portsnap/portsnap

2012-09-28 Thread Isabell Long
Author: issyl0 (doc committer) Date: Fri Sep 28 11:40:59 2012 New Revision: 241026 URL: http://svn.freebsd.org/changeset/base/241026 Log: Change "only only" to "only" in portsnap(8). Spotted by: Ruslan Mahmatkhanov Approved by: gabor (mentor, implicit) Modified: head/usr.sbin/portsn

svn commit: r241027 - in head/sys: amd64/include/pc dev/ipmi i386/include/pc x86/bios

2012-09-28 Thread John Baldwin
Author: jhb Date: Fri Sep 28 11:59:32 2012 New Revision: 241027 URL: http://svn.freebsd.org/changeset/base/241027 Log: - Re-shuffle the headers to move all kernel-specific bits under #ifdef _KERNEL but leave definitions for various structures defined by standards ($PIR table, SMAP entri

svn commit: r241028 - head/sys/cam

2012-09-28 Thread Alexander Motin
Author: mav Date: Fri Sep 28 12:13:34 2012 New Revision: 241028 URL: http://svn.freebsd.org/changeset/base/241028 Log: Change queue overflow checks from DIAGNOSTIC+panic() to KASSERT() to make them enabled on HEAD by default. It is probably better to do single compare then hunt for unexpecte

svn commit: r241029 - head/lib/libpam/modules/pam_radius

2012-09-28 Thread Dag-Erling Sm�rgrav
Author: des Date: Fri Sep 28 12:29:25 2012 New Revision: 241029 URL: http://svn.freebsd.org/changeset/base/241029 Log: Remove unnecessary #include. Modified: head/lib/libpam/modules/pam_radius/pam_radius.c Modified: head/lib/libpam/modules/pam_radius/pam_radius.c

svn commit: r241030 - stable/9/bin/sh

2012-09-28 Thread Jilles Tjoelker
Author: jilles Date: Fri Sep 28 13:43:42 2012 New Revision: 241030 URL: http://svn.freebsd.org/changeset/base/241030 Log: MFC r240505: sh: Reduce code duplication: use setinputfile instead of open/setinputfd combination. Modified: stable/9/bin/sh/main.c Directory Properties: stable/9/bin/

svn commit: r241031 - head/lib/libc/stdlib

2012-09-28 Thread Dag-Erling Sm�rgrav
Author: des Date: Fri Sep 28 13:50:37 2012 New Revision: 241031 URL: http://svn.freebsd.org/changeset/base/241031 Log: Slight stylification. Modified: head/lib/libc/stdlib/random.c Modified: head/lib/libc/stdlib/random.c ===

svn commit: r241032 - head/sys/dev/usb/controller

2012-09-28 Thread Hans Petter Selasky
Author: hselasky Date: Fri Sep 28 15:24:14 2012 New Revision: 241032 URL: http://svn.freebsd.org/changeset/base/241032 Log: Correct NYET handling. Remove superfluous transfer complete interrupt mask. Modified: head/sys/dev/usb/controller/dwc_otg.c Modified: head/sys/dev/usb/controller/dwc_ot

svn commit: r241033 - head/sys/dev/usb/net

2012-09-28 Thread Hans Petter Selasky
Author: hselasky Date: Fri Sep 28 15:33:13 2012 New Revision: 241033 URL: http://svn.freebsd.org/changeset/base/241033 Log: Remove some trailing bytes which are not part of the ethernet packet. Discussed with: bgray @ Modified: head/sys/dev/usb/net/if_smsc.c Modified: head

svn commit: r241034 - head/sys/dev/usb/net

2012-09-28 Thread Hans Petter Selasky
Author: hselasky Date: Fri Sep 28 16:23:01 2012 New Revision: 241034 URL: http://svn.freebsd.org/changeset/base/241034 Log: Make sure we don't leak a mbuf in a fail case. Modified: head/sys/dev/usb/net/if_smsc.c Modified: head/sys/dev/usb/net/if_smsc.c ===

svn commit: r241035 - head/sbin/fsck_ffs

2012-09-28 Thread Matthew D Fleming
Author: mdf Date: Fri Sep 28 17:34:34 2012 New Revision: 241035 URL: http://svn.freebsd.org/changeset/base/241035 Log: Fix some nearby type and style errors. Pointed out by: bde Modified: head/sbin/fsck_ffs/main.c head/sbin/fsck_ffs/pass1.c head/sbin/fsck_ffs/suj.c Modified: h

svn commit: r241036 - stable/9/sys/boot/common

2012-09-28 Thread Andreas Tobler
Author: andreast Date: Fri Sep 28 17:36:00 2012 New Revision: 241036 URL: http://svn.freebsd.org/changeset/base/241036 Log: MFC r240782: Implement elfN(reloc) for powerpc. With this change the kernel is now able to resolve dependencies of modules at boot time and load additional modules w

svn commit: r241037 - in head: share/man/man9 sys/dev/bxe sys/dev/e1000 sys/dev/ixgbe sys/dev/mxge sys/dev/oce sys/dev/vxge sys/net sys/ofed/drivers/net/mlx4 sys/sys

2012-09-28 Thread Gleb Smirnoff
Author: glebius Date: Fri Sep 28 18:28:27 2012 New Revision: 241037 URL: http://svn.freebsd.org/changeset/base/241037 Log: The drbr(9) API appeared to be so unclear, that most drivers in tree used it incorrectly, which lead to inaccurate overrated if_obytes accounting. The drbr(9) used to up

svn commit: r241038 - stable/9/usr.sbin/mountd

2012-09-28 Thread Xin LI
Author: delphij Date: Fri Sep 28 20:29:06 2012 New Revision: 241038 URL: http://svn.freebsd.org/changeset/base/241038 Log: MFC r239744: Show error messages if nmount() failed. Modified: stable/9/usr.sbin/mountd/mountd.c Directory Properties: stable/9/usr.sbin/mountd/ (props changed)

svn commit: r241039 - head/sys/netpfil/pf

2012-09-28 Thread Gleb Smirnoff
Author: glebius Date: Fri Sep 28 20:43:03 2012 New Revision: 241039 URL: http://svn.freebsd.org/changeset/base/241039 Log: Simplify and somewhat redesign interaction between pf_purge_thread() and pf_purge_expired_states(). Now pf purging daemon stores the current hash table index on stack

svn commit: r241040 - stable/8/usr.sbin/mountd

2012-09-28 Thread Xin LI
Author: delphij Date: Fri Sep 28 22:26:44 2012 New Revision: 241040 URL: http://svn.freebsd.org/changeset/base/241040 Log: MFC r239744: Show error messages if nmount() failed. Modified: stable/8/usr.sbin/mountd/mountd.c Directory Properties: stable/8/usr.sbin/mountd/ (props changed)

svn commit: r241042 - head/usr.sbin/bsdconfig/share

2012-09-28 Thread Devin Teske
Author: dteske Date: Sat Sep 29 03:41:21 2012 New Revision: 241042 URL: http://svn.freebsd.org/changeset/base/241042 Log: Allow deferred word-splitting via f_sysrc_get() by allowing $IFS in the "clean-room" environment used to query rc.conf(5) parameters. This brings bsdconfig(8)'s sysrc.

svn commit: r241043 - head/sys/netinet

2012-09-28 Thread Gleb Smirnoff
Author: glebius Date: Sat Sep 29 05:52:19 2012 New Revision: 241043 URL: http://svn.freebsd.org/changeset/base/241043 Log: carp_send_ad() should never return without rescheduling next run. Modified: head/sys/netinet/ip_carp.c Modified: head/sys/netinet/ip_carp.c =