Re: svn commit: r229416 - head/sys/dev/tws

2012-01-08 Thread Andriy Gapon
on 03/01/2012 22:17 Xin LI said the following: > Author: delphij > Date: Tue Jan 3 20:17:35 2012 > New Revision: 229416 > URL: http://svn.freebsd.org/changeset/base/229416 > > Log: > Don't forget to release queue lock when allocation of memory failed. > > Submitted by: Sascha Wildner

svn commit: r229805 - in head/sys: netinet netinet6

2012-01-08 Thread Michael Tuexen
Author: tuexen Date: Sun Jan 8 09:56:24 2012 New Revision: 229805 URL: http://svn.freebsd.org/changeset/base/229805 Log: Add an SCTP sysctl "blackhole", similar to the one for TCP. If set to 1, no ABORT is sent back in response to an incoming INIT. If set to 2, no ABORT is sent back in resp

Re: svn commit: r229794 - head/usr.bin/hexdump

2012-01-08 Thread Bruce Evans
Log: - Fix how hexdump parses escape strings From the NetBSD bug: The way how hexdump(1) parses escape sequences has some bugs. It shows up when an escape sequence is used as the non-last character of a format string. PR:bin/144722 Submitted by: gcooper Approved by: rpaulo

Re: svn commit: r229794 - head/usr.bin/hexdump

2012-01-08 Thread Bruce Evans
On Sun, 8 Jan 2012, Bruce Evans wrote: ... Fixing these style bugs gives something like: %%% /* * Set end pointer. First make sure that p1 is not * the empty string.. */ p

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

2012-01-08 Thread Pawel Jakub Dawidek
On Sun, Jan 08, 2012 at 12:55:22AM +, Adrian Chadd wrote: > Author: adrian > Date: Sun Jan 8 00:55:22 2012 > New Revision: 229800 > URL: http://svn.freebsd.org/changeset/base/229800 > > Log: > Make these two files conditionally build on UFS_ACL, as it doesn't > seem to be used elsewhere.

svn commit: r229806 - in head/lib/libc: powerpc/gen powerpc64/gen

2012-01-08 Thread Andreas Tobler
Author: andreast Date: Sun Jan 8 11:57:38 2012 New Revision: 229806 URL: http://svn.freebsd.org/changeset/base/229806 Log: Two other places where we can use WEAK_ALIAS. Modified: head/lib/libc/powerpc/gen/setjmp.S head/lib/libc/powerpc64/gen/setjmp.S Modified: head/lib/libc/powerpc/gen/se

svn commit: r229807 - head/include

2012-01-08 Thread Ed Schouten
Author: ed Date: Sun Jan 8 12:03:46 2012 New Revision: 229807 URL: http://svn.freebsd.org/changeset/base/229807 Log: Fix spelling of C11 and sort functions by name. Modified: head/include/stdlib.h Modified: head/include/stdlib.h ==

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

2012-01-08 Thread Ed Schouten
Author: ed Date: Sun Jan 8 12:04:22 2012 New Revision: 229808 URL: http://svn.freebsd.org/changeset/base/229808 Log: Properly sort functions by name. Modified: head/lib/libc/stdlib/Symbol.map Modified: head/lib/libc/stdlib/Symbol.map =

svn commit: r229809 - head/gnu/usr.bin/cvs/lib

2012-01-08 Thread Ed Schouten
Author: ed Date: Sun Jan 8 12:38:41 2012 New Revision: 229809 URL: http://svn.freebsd.org/changeset/base/229809 Log: Don't include . Including this header file causes a compilation warning. The code builds perfectly fine without this header file. Modified: head/gnu/usr.bin/cvs/lib/con

svn commit: r229810 - in head/sys: net netinet

2012-01-08 Thread Gleb Smirnoff
Author: glebius Date: Sun Jan 8 13:34:00 2012 New Revision: 229810 URL: http://svn.freebsd.org/changeset/base/229810 Log: Move arprequest() declaration to if_ether.h. Modified: head/sys/net/if_llatbl.c head/sys/netinet/if_ether.c head/sys/netinet/if_ether.h Modified: head/sys/net/if_lla

svn commit: r229811 - stable/9/contrib/less

2012-01-08 Thread Dimitry Andric
Author: dim Date: Sun Jan 8 13:51:09 2012 New Revision: 229811 URL: http://svn.freebsd.org/changeset/base/229811 Log: MFC r229196: Redo r228645, but instead of casting away const conversion warnings in contrib/less, add a few const qualifiers in the right places. Suggested by: das

svn commit: r229812 - stable/9/release/doc/en_US.ISO8859-1/relnotes

2012-01-08 Thread Hiroki Sato
Author: hrs Date: Sun Jan 8 13:54:08 2012 New Revision: 229812 URL: http://svn.freebsd.org/changeset/base/229812 Log: Add relnotes items: igb(4) Intel I350 GbE support, re(4) TX IP checksum disabled on RTL8168C-based cards, cc(9) TCP congestion control algorithm framewor

svn commit: r229813 - stable/8/sys/kern

2012-01-08 Thread Konstantin Belousov
Author: kib Date: Sun Jan 8 16:47:37 2012 New Revision: 229813 URL: http://svn.freebsd.org/changeset/base/229813 Log: MFC r229185: Avoid double-unlock or double unreference for ndp->ni_dvp when the vnode dp lock upgrade right after the 'success' label fails. Modified: stable/8/sys/kern/v

svn commit: r229814 - head/sys/net

2012-01-08 Thread Gleb Smirnoff
Author: glebius Date: Sun Jan 8 17:11:53 2012 New Revision: 229814 URL: http://svn.freebsd.org/changeset/base/229814 Log: Copy ifa->if_data to ifam->ifam_data. This was forgotten in r228571. Submitted by: bz Modified: head/sys/net/rtsock.c Modified: head/sys/net/rtsock.c ==

svn commit: r229815 - head/sys/netinet

2012-01-08 Thread Gleb Smirnoff
Author: glebius Date: Sun Jan 8 17:20:29 2012 New Revision: 229815 URL: http://svn.freebsd.org/changeset/base/229815 Log: Provide IA_MASKSIN() macro similar to IA_SIN() and IA_DSTSIN(). Modified: head/sys/netinet/in_var.h Modified: head/sys/netinet/in_var.h =

svn commit: r229816 - head/sys/netinet

2012-01-08 Thread Gleb Smirnoff
Author: glebius Date: Sun Jan 8 17:25:15 2012 New Revision: 229816 URL: http://svn.freebsd.org/changeset/base/229816 Log: Make it possible to use alternative source hardware address in the ARP datagram generated by arprequest(). If caller doesn't supply the address, then it is either picked

svn commit: r229817 - stable/9/release/doc/en_US.ISO8859-1/relnotes

2012-01-08 Thread Hiroki Sato
Author: hrs Date: Sun Jan 8 17:40:10 2012 New Revision: 229817 URL: http://svn.freebsd.org/changeset/base/229817 Log: Add relnotes items: cxgbe(4) for Chelsio T4 added, dc(4) PAE support on FreeBSD/i386, re(4) RTL8401E support added, IPsec HMAC-SHA-256/384/512 au

svn commit: r229818 - head/sys/kern

2012-01-08 Thread Hiroki Sato
Author: hrs Date: Sun Jan 8 18:48:36 2012 New Revision: 229818 URL: http://svn.freebsd.org/changeset/base/229818 Log: Fix a typo. (s/nessesary/necessary/) Modified: head/sys/kern/kern_prot.c Modified: head/sys/kern/kern_prot.c ===

svn commit: r229819 - stable/9/release/doc/en_US.ISO8859-1/relnotes

2012-01-08 Thread Hiroki Sato
Author: hrs Date: Sun Jan 8 19:24:08 2012 New Revision: 229819 URL: http://svn.freebsd.org/changeset/base/229819 Log: Add relnotes items: add descriptions about kern.features.*, new NFS implementation (newnfs) is now compiled in by default, add some descriptions about NF

svn commit: r229820 - stable/9/release/doc/en_US.ISO8859-1/relnotes

2012-01-08 Thread Hiroki Sato
Author: hrs Date: Sun Jan 8 19:52:56 2012 New Revision: 229820 URL: http://svn.freebsd.org/changeset/base/229820 Log: Add relnotes items: Capsicum Capability Mode, ng_one2many(4) XMIT_FAILOVER support added, kern.geom.confxml sysctl now support and , and ZFS SPA

svn commit: r229821 - in head/sys: fs/tmpfs kern

2012-01-08 Thread Alan Cox
Author: alc Date: Sun Jan 8 20:09:26 2012 New Revision: 229821 URL: http://svn.freebsd.org/changeset/base/229821 Log: Correct an error of omission in the implementation of the truncation operation on POSIX shared memory objects and tmpfs. Previously, neither of these modules correctly hand

svn commit: r229822 - in head/etc: . rc.d

2012-01-08 Thread Doug Barton
Author: dougb Date: Sun Jan 8 20:25:29 2012 New Revision: 229822 URL: http://svn.freebsd.org/changeset/base/229822 Log: There is no longer a need to abstract ${rcvar_manpage} as we are not attempting to maintain compatibility with NetBSD for some years now. Modified: head/etc/rc.d/hostname

Re: svn commit: r228985 - head/sys/boot/forth

2012-01-08 Thread Sergey Kandaurov
On 8 January 2012 00:03, Dimitry Andric wrote: > On 2011-12-30 07:24, Sergey Kandaurov wrote: >> >> Author: pluknet >> Date: Fri Dec 30 06:24:59 2011 >> New Revision: 228985 >> URL: http://svn.freebsd.org/changeset/base/228985 >> >> Log: >>   Unset the environment variables associated with individ

svn commit: r229823 - in stable/9: include lib/libc/gen

2012-01-08 Thread Eitan Adler
Author: eadler (ports committer) Date: Sun Jan 8 21:00:37 2012 New Revision: 229823 URL: http://svn.freebsd.org/changeset/base/229823 Log: MFC r228754: - Add restrict keyword to glob(3) PR: kern/161958 Approved by: jilles Modified: stable/9/include/glob.h stable/

svn commit: r229824 - in stable/8: include lib/libc/gen

2012-01-08 Thread Eitan Adler
Author: eadler (ports committer) Date: Sun Jan 8 21:01:21 2012 New Revision: 229824 URL: http://svn.freebsd.org/changeset/base/229824 Log: MFC r228754: - Add restrict keyword to glob(3) PR: kern/161958 Approved by: jilles Modified: stable/8/include/glob.h stable/

svn commit: r229825 - in stable/7: include lib/libc/gen

2012-01-08 Thread Eitan Adler
Author: eadler (ports committer) Date: Sun Jan 8 21:01:51 2012 New Revision: 229825 URL: http://svn.freebsd.org/changeset/base/229825 Log: MFC r228754: - Add restrict keyword to glob(3) PR: kern/161958 Approved by: jilles Modified: stable/7/include/glob.h stable/

svn commit: r229826 - stable/9/release/doc/en_US.ISO8859-1/relnotes

2012-01-08 Thread Hiroki Sato
Author: hrs Date: Sun Jan 8 22:23:19 2012 New Revision: 229826 URL: http://svn.freebsd.org/changeset/base/229826 Log: Add relnotes items: {get,set}loginclass(2) added, machdep.disable_tsc tunable added, ng_netflow(4) now supports NetFlow v9, cexp(3) and cexpf(3)

Re: svn commit: r229817 - stable/9/release/doc/en_US.ISO8859-1/relnotes

2012-01-08 Thread Ed Schouten
Hello Hiroki, * Hiroki Sato , 20120108 18:40: > + A &man.utxrm.8; utility has been added. > + This allows one to remove an entry from the > + utmpx database by hand. This is useful > + when a login daemon crashes or fails to remove the entry > + during shut

Re: svn commit: r229812 - stable/9/release/doc/en_US.ISO8859-1/relnotes

2012-01-08 Thread Lawrence Stewart
Hi Hiroki-san, On 01/09/12 00:54, Hiroki Sato wrote: Author: hrs Date: Sun Jan 8 13:54:08 2012 New Revision: 229812 URL: http://svn.freebsd.org/changeset/base/229812 Log: Add relnotes items: igb(4) Intel I350 GbE support, re(4) TX IP checksum disabled on RTL8168C-based cards

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

2012-01-08 Thread Adrian Chadd
On 8 January 2012 02:43, Pawel Jakub Dawidek wrote: > If someone is actually using GENERIC kernel. This change will break all > my system next time I upgrade. Adding UFS_ACL option to the kernel > config to make ZFS kernel module to work doesn't sound very intuitive. > > I understand what you are

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

2012-01-08 Thread Rick Macklem
Author: rmacklem Date: Sun Jan 8 23:05:36 2012 New Revision: 229827 URL: http://svn.freebsd.org/changeset/base/229827 Log: MFC: r228560 Patch the new NFS server in a manner analagous to r228520 for the old NFS server, so that it correctly handles a count == 0 argument for Commit. Modifie

svn commit: r229828 - in head/sys: kern ufs/ufs

2012-01-08 Thread Konstantin Belousov
Author: kib Date: Sun Jan 8 23:06:53 2012 New Revision: 229828 URL: http://svn.freebsd.org/changeset/base/229828 Log: Avoid LOR between vfs_busy() lock and covered vnode lock on quotaon(). The vfs_busy() is after covered vnode lock in the global lock order, but since quotaon() does recursiv

svn commit: r229829 - stable/9/release/doc/en_US.ISO8859-1/relnotes

2012-01-08 Thread Hiroki Sato
Author: hrs Date: Sun Jan 8 23:11:03 2012 New Revision: 229829 URL: http://svn.freebsd.org/changeset/base/229829 Log: Add relnotes items: DTrace systrace support for freebsd32 and linux32 on am64, loader(8) pre-boot virtual memory support on ia64, bxe(4) for BCM57710, BC

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

2012-01-08 Thread Pawel Jakub Dawidek
On Sun, Jan 08, 2012 at 02:58:56PM -0800, Adrian Chadd wrote: > On 8 January 2012 02:43, Pawel Jakub Dawidek wrote: > > If someone is actually using GENERIC kernel. This change will break all > > my system next time I upgrade. Adding UFS_ACL option to the kernel > > config to make ZFS kernel modul

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

2012-01-08 Thread Rick Macklem
Author: rmacklem Date: Sun Jan 8 23:30:23 2012 New Revision: 229830 URL: http://svn.freebsd.org/changeset/base/229830 Log: MFC: r228560 Patch the new NFS server in a manner analagous to r228520 for the old NFS server, so that it correctly handles a count == 0 argument for Commit. Modifie

svn commit: r229831 - in head: lib/libopie share/examples/diskless share/examples/ppp share/examples/printing tools/tools/nanobsd/pcengines/Files/root usr.sbin/pkg_install/add

2012-01-08 Thread Eitan Adler
Author: eadler (ports committer) Date: Mon Jan 9 00:48:19 2012 New Revision: 229831 URL: http://svn.freebsd.org/changeset/base/229831 Log: X11BASE has been deprecated for a long time and will die soon Approved by: x11 (eadler) Approved by: brucec MFC after:1 week Modified: hea

svn commit: r229832 - stable/9/sys/kern

2012-01-08 Thread Eitan Adler
Author: eadler (ports committer) Date: Mon Jan 9 01:02:37 2012 New Revision: 229832 URL: http://svn.freebsd.org/changeset/base/229832 Log: MFC r228233: - Fix typos s/(more|less) then|\1 than/ Approved by: brucec Modified: stable/9/sys/kern/subr_blist.c Directory Properties: s

svn commit: r229833 - stable/9/sys/conf

2012-01-08 Thread Glen Barber
Author: gjb (doc committer) Date: Mon Jan 9 01:59:17 2012 New Revision: 229833 URL: http://svn.freebsd.org/changeset/base/229833 Log: MFC r229353: - Trivial standardization to a few comments in kern.pre.mk. Modified: stable/9/sys/conf/kern.pre.mk Directory Properties: stable/9/sys/

svn commit: r229834 - stable/8/sys/conf

2012-01-08 Thread Glen Barber
Author: gjb (doc committer) Date: Mon Jan 9 01:59:50 2012 New Revision: 229834 URL: http://svn.freebsd.org/changeset/base/229834 Log: MFC r229353: - Trivial standardization to a few comments in kern.pre.mk. Modified: stable/8/sys/conf/kern.pre.mk Directory Properties: stable/8/sys/

svn commit: r229835 - stable/7/sys/conf

2012-01-08 Thread Glen Barber
Author: gjb (doc committer) Date: Mon Jan 9 02:00:31 2012 New Revision: 229835 URL: http://svn.freebsd.org/changeset/base/229835 Log: MFC r229353: - Trivial standardization to a few comments in kern.pre.mk. Modified: stable/7/sys/conf/kern.pre.mk Directory Properties: stable/7/sys/

Re: svn commit: r228985 - head/sys/boot/forth

2012-01-08 Thread Devin Teske
On Jan 8, 2012, at 12:35 PM, Sergey Kandaurov wrote: > On 8 January 2012 00:03, Dimitry Andric wrote: >> On 2011-12-30 07:24, Sergey Kandaurov wrote: >>> >>> Author: pluknet >>> Date: Fri Dec 30 06:24:59 2011 >>> New Revision: 228985 >>> URL: http://svn.freebsd.org/changeset/base/228985 >>> >>

svn commit: r229836 - stable/8/sys/kern

2012-01-08 Thread Eitan Adler
Author: eadler (ports committer) Date: Mon Jan 9 03:03:43 2012 New Revision: 229836 URL: http://svn.freebsd.org/changeset/base/229836 Log: MFC r228233: - Fix typos s/(more|less) then|\1 than/ Approved by: brucec Modified: stable/8/sys/kern/subr_blist.c Directory Properties: s

svn commit: r229837 - stable/7/sys/kern

2012-01-08 Thread Eitan Adler
Author: eadler (ports committer) Date: Mon Jan 9 03:03:43 2012 New Revision: 229837 URL: http://svn.freebsd.org/changeset/base/229837 Log: MFC r228233: - Fix typos s/(more|less) then|\1 than/ Approved by: brucec Modified: stable/7/sys/kern/subr_blist.c Directory Properties: s

svn commit: r229838 - head/sbin/geom/class/part

2012-01-08 Thread Warren Block
Author: wblock (doc committer) Date: Mon Jan 9 04:27:32 2012 New Revision: 229838 URL: http://svn.freebsd.org/changeset/base/229838 Log: Clarity improvements. Approved by: gjb (mentor) MFC after:3 days Modified: head/sbin/geom/class/part/gpart.8 Modified: head/sbin/geom/class/pa

svn commit: r229839 - stable/9/lib/msun/src

2012-01-08 Thread David Schultz
Author: das Date: Mon Jan 9 04:55:52 2012 New Revision: 229839 URL: http://svn.freebsd.org/changeset/base/229839 Log: MFC various fma{,f,l} improvements: r226245 - refactoring r226371 - fix double-rounding bug r226373 - new math_private.h macros r226601 - fix nit in r226371 Modified

svn commit: r229840 - stable/8/lib/msun/src

2012-01-08 Thread David Schultz
Author: das Date: Mon Jan 9 04:55:55 2012 New Revision: 229840 URL: http://svn.freebsd.org/changeset/base/229840 Log: MFC various fma{,f,l} improvements: r226245 - refactoring r226371 - fix double-rounding bug r226373 - new math_private.h macros r226601 - fix nit in r226371 Modified

svn commit: r229841 - in stable/9/lib/msun: amd64 i387

2012-01-08 Thread David Schultz
Author: das Date: Mon Jan 9 04:57:06 2012 New Revision: 229841 URL: http://svn.freebsd.org/changeset/base/229841 Log: MFC r226594: Bugfix: feenableexcept() and fedisableexcept() should just return the old exception mask, not mask | ~FE_ALL_EXCEPT. Modified: stable/9/lib/msun/amd64/fe

svn commit: r229842 - in stable/8/lib/msun: amd64 i387

2012-01-08 Thread David Schultz
Author: das Date: Mon Jan 9 04:57:09 2012 New Revision: 229842 URL: http://svn.freebsd.org/changeset/base/229842 Log: MFC r226594: Bugfix: feenableexcept() and fedisableexcept() should just return the old exception mask, not mask | ~FE_ALL_EXCEPT. Modified: stable/8/lib/msun/amd64/fe

svn commit: r229843 - stable/9/lib/msun/src

2012-01-08 Thread David Schultz
Author: das Date: Mon Jan 9 04:57:59 2012 New Revision: 229843 URL: http://svn.freebsd.org/changeset/base/229843 Log: MFC r226595: Per IEEE754r, pow(1, y) is 1 even if y is NaN, and pow(-1, +-Inf) is 1. Modified: stable/9/lib/msun/src/e_pow.c stable/9/lib/msun/src/e_powf.c Directory Pr

svn commit: r229844 - stable/8/lib/msun/src

2012-01-08 Thread David Schultz
Author: das Date: Mon Jan 9 04:58:02 2012 New Revision: 229844 URL: http://svn.freebsd.org/changeset/base/229844 Log: MFC r226595: Per IEEE754r, pow(1, y) is 1 even if y is NaN, and pow(-1, +-Inf) is 1. Modified: stable/8/lib/msun/src/e_pow.c stable/8/lib/msun/src/e_powf.c Directory Pr

svn commit: r229845 - stable/9/lib/libc/stdio

2012-01-08 Thread David Schultz
Author: das Date: Mon Jan 9 04:59:44 2012 New Revision: 229845 URL: http://svn.freebsd.org/changeset/base/229845 Log: MFC r226604: Add support for the 'x' mode option in fopen() as specified in the C1X draft standard. The option is equivalent to O_EXCL. Modified: stable/9/lib/libc/s

svn commit: r229846 - stable/8/lib/libc/stdio

2012-01-08 Thread David Schultz
Author: das Date: Mon Jan 9 04:59:47 2012 New Revision: 229846 URL: http://svn.freebsd.org/changeset/base/229846 Log: MFC r226604: Add support for the 'x' mode option in fopen() as specified in the C1X draft standard. The option is equivalent to O_EXCL. Also merge doc improvements

svn commit: r229847 - head/sbin/geom/class/part

2012-01-08 Thread Warren Block
Author: wblock (doc committer) Date: Mon Jan 9 05:51:33 2012 New Revision: 229847 URL: http://svn.freebsd.org/changeset/base/229847 Log: Whitespace-only fix. Translators, please feel free to ignore. Approved by: gjb (mentor) MFC after:3 days X-MFC-with: r227774, r22, r22780

svn commit: r229848 - in head: include lib/libc/stdlib

2012-01-08 Thread Ed Schouten
Author: ed Date: Mon Jan 9 06:36:28 2012 New Revision: 229848 URL: http://svn.freebsd.org/changeset/base/229848 Log: Add aligned_alloc(3). The C11 folks reinvented the wheel by introducing an aligned version of malloc(3) called aligned_alloc(3), instead of posix_memalign(3). Instead of