svn commit: r227992 - head/sys/dev/acpica

2011-11-26 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sat Nov 26 13:43:50 2011 New Revision: 227992 URL: http://svn.freebsd.org/changeset/base/227992 Log: Prevent a division by zero with some broken batteries This problem was seen on a laptop with a dead battery. Modified: head/sys/dev/acpica/acpi_battery.c

Re: svn commit: r227982 - in head: . release/doc/en_US.ISO8859-1/hardware share/man/man4 sys/conf sys/dev/amd sys/modules sys/modules/amd

2011-11-26 Thread Garrett Cooper
On Fri, Nov 25, 2011 at 11:29 AM, Marius Strobl mar...@freebsd.org wrote: Author: marius Date: Fri Nov 25 19:29:21 2011 New Revision: 227982 URL: http://svn.freebsd.org/changeset/base/227982 Log:  Deorbit the broken amd(4) (see PR 124667), which was superseded by esp(4)  as of r227006.

svn commit: r227999 - head/lib/libc/gen

2011-11-26 Thread David Chisnall
Author: theraven Date: Sat Nov 26 15:57:09 2011 New Revision: 227999 URL: http://svn.freebsd.org/changeset/base/227999 Log: Return not-implemented from pthread_once and pthread_key_create, rather than silently failing and returning success. Without this, code calls pthread_once(),

Re: svn commit: r227873 - head/usr.bin/procstat

2011-11-26 Thread Mikolaj Golub
On Thu, 24 Nov 2011 09:12:35 +0200 Mikolaj Golub wrote: MG On Wed, 23 Nov 2011 11:10:47 -0800 m...@freebsd.org wrote:                        printf( AT_IGNORE=0x%lu, -                           (unsigned long)aux-a_un.a_val); +                           (unsigned

svn commit: r228002 - head/lib/libc/gen

2011-11-26 Thread David Chisnall
Author: theraven Date: Sat Nov 26 16:49:25 2011 New Revision: 228002 URL: http://svn.freebsd.org/changeset/base/228002 Log: style(9) fix. Approved by: dim (mentor) Modified: head/lib/libc/gen/_pthread_stubs.c Modified: head/lib/libc/gen/_pthread_stubs.c

Re: svn commit: r227873 - head/usr.bin/procstat

2011-11-26 Thread Kostik Belousov
On Sat, Nov 26, 2011 at 06:43:01PM +0200, Mikolaj Golub wrote: On Thu, 24 Nov 2011 09:12:35 +0200 Mikolaj Golub wrote: MG On Wed, 23 Nov 2011 11:10:47 -0800 m...@freebsd.org wrote:                        printf( AT_IGNORE=0x%lu, -                           (unsigned

svn commit: r228003 - in head/sys: conf i386/conf

2011-11-26 Thread Marius Strobl
Author: marius Date: Sat Nov 26 18:02:39 2011 New Revision: 228003 URL: http://svn.freebsd.org/changeset/base/228003 Log: Remove some more occurrences of amd(4) missed in r227982. Modified: head/sys/conf/NOTES head/sys/i386/conf/PAE Modified: head/sys/conf/NOTES

Re: svn commit: r227873 - head/usr.bin/procstat

2011-11-26 Thread Robert N. M. Watson
On 26 Nov 2011, at 17:48, Kostik Belousov wrote: in138:~% procstat -x 2008 PID COMM AUXV VALUE 2008 nginxAT_PHDR 0x400040 2008 nginxAT_PHENT 56 2008 nginxAT_PHNUM 8 2008 nginx

Re: svn commit: r227873 - head/usr.bin/procstat

2011-11-26 Thread Kostik Belousov
On Sat, Nov 26, 2011 at 06:13:14PM +, Robert N. M. Watson wrote: On 26 Nov 2011, at 17:48, Kostik Belousov wrote: in138:~% procstat -x 2008 PID COMM AUXV VALUE 2008 nginxAT_PHDR 0x400040 2008 nginxAT_PHENT

svn commit: r228004 - in head: contrib/libcxxrt lib/libcxxrt

2011-11-26 Thread David Chisnall
Author: theraven Date: Sat Nov 26 18:46:33 2011 New Revision: 228004 URL: http://svn.freebsd.org/changeset/base/228004 Log: Update libcxxrt to remove the pthread dependency. Also add the license from upstream to contrib. Approved by: dim (mentor) Added:

svn commit: r228005 - head/sys/mips/conf

2011-11-26 Thread Marius Strobl
Author: marius Date: Sat Nov 26 18:47:09 2011 New Revision: 228005 URL: http://svn.freebsd.org/changeset/base/228005 Log: Change another instance of amd(4) to esp(4) missed in r227006. Submitted by: Garrett Cooper MFC after:3 days Modified: head/sys/mips/conf/OCTEON1 Modified:

Re: svn commit: r228004 - in head: contrib/libcxxrt lib/libcxxrt

2011-11-26 Thread Bjoern A. Zeeb
On Sat, 26 Nov 2011, David Chisnall wrote: Author: theraven Date: Sat Nov 26 18:46:33 2011 New Revision: 228004 URL: http://svn.freebsd.org/changeset/base/228004 Log: Update libcxxrt to remove the pthread dependency. Also add the license from upstream to contrib. Did the license really

Re: svn commit: r227987 - in head: . lib share/mk

2011-11-26 Thread Bjoern A. Zeeb
On Sat, 26 Nov 2011, Dimitry Andric wrote: Author: dim Date: Sat Nov 26 03:26:06 2011 New Revision: 227987 URL: http://svn.freebsd.org/changeset/base/227987 Log: Fix breakage after r227983; lib/libcxxrt still got built, because it was not disabled in the usual way (by adding it to

Re: svn commit: r228004 - in head: contrib/libcxxrt lib/libcxxrt

2011-11-26 Thread David Schultz
On Sat, Nov 26, 2011, Bjoern A. Zeeb wrote: On Sat, 26 Nov 2011, David Chisnall wrote: Author: theraven Date: Sat Nov 26 18:46:33 2011 New Revision: 228004 URL: http://svn.freebsd.org/changeset/base/228004 Log: Update libcxxrt to remove the pthread dependency. Also add the license

svn commit: r228007 - head/tools/regression/bin/sh/builtins

2011-11-26 Thread Jilles Tjoelker
Author: jilles Date: Sat Nov 26 22:28:25 2011 New Revision: 228007 URL: http://svn.freebsd.org/changeset/base/228007 Log: sh: Add tests for some corner cases of 'case' exit status. These already work properly. Added: head/tools/regression/bin/sh/builtins/case11.0 (contents, props

Re: svn commit: r227873 - head/usr.bin/procstat

2011-11-26 Thread Pawel Jakub Dawidek
On Wed, Nov 23, 2011 at 11:10:47AM -0800, m...@freebsd.org wrote: I don't know if there's a style preference for 0x%lx versus %#lx, though, or a preference for a different type for the print (uintmax_t, for example). There is probably a preference for using u_long rather than unsigned long,

svn commit: r228008 - head/sys/netipsec

2011-11-26 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Nov 26 23:11:41 2011 New Revision: 228008 URL: http://svn.freebsd.org/changeset/base/228008 Log: There is no need to virtualize esp_max_ivlen. Modified: head/sys/netipsec/xform_esp.c Modified: head/sys/netipsec/xform_esp.c

svn commit: r228009 - head/sys/netipsec

2011-11-26 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Nov 26 23:13:30 2011 New Revision: 228009 URL: http://svn.freebsd.org/changeset/base/228009 Log: Simplify code a bit. Modified: head/sys/netipsec/xform_ah.c head/sys/netipsec/xform_esp.c Modified: head/sys/netipsec/xform_ah.c

svn commit: r228010 - head/sys/netipsec

2011-11-26 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Nov 26 23:15:28 2011 New Revision: 228010 URL: http://svn.freebsd.org/changeset/base/228010 Log: Eliminate 'err' variable and just use existing 'error'. Modified: head/sys/netipsec/xform_ah.c head/sys/netipsec/xform_esp.c Modified: head/sys/netipsec/xform_ah.c

svn commit: r228011 - head/sys/netipsec

2011-11-26 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Nov 26 23:18:19 2011 New Revision: 228011 URL: http://svn.freebsd.org/changeset/base/228011 Log: malloc(M_WAITOK) never fails, so there is no need to check for NULL. Modified: head/sys/netipsec/xform_esp.c Modified: head/sys/netipsec/xform_esp.c

svn commit: r228012 - head/sys/netipsec

2011-11-26 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Nov 26 23:27:41 2011 New Revision: 228012 URL: http://svn.freebsd.org/changeset/base/228012 Log: The esp_max_ivlen global variable is not needed, we can just use EALG_MAX_BLOCK_LEN. Modified: head/sys/netipsec/xform_esp.c Modified: head/sys/netipsec/xform_esp.c

svn commit: r228013 - head/bin/sh

2011-11-26 Thread Jilles Tjoelker
Author: jilles Date: Sat Nov 26 23:28:31 2011 New Revision: 228013 URL: http://svn.freebsd.org/changeset/base/228013 Log: sh: Reduce one level of evaltree() recursion when executing 'case'. Free expanded case text before executing commands. Remove impossible evalskip checks (expanding an

svn commit: r228014 - head/sys/netipsec

2011-11-26 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Nov 26 23:57:03 2011 New Revision: 228014 URL: http://svn.freebsd.org/changeset/base/228014 Log: Remove unused 'plen' variable. Modified: head/sys/netipsec/xform_esp.c Modified: head/sys/netipsec/xform_esp.c

svn commit: r228015 - head/bin/sh

2011-11-26 Thread Jilles Tjoelker
Author: jilles Date: Sun Nov 27 00:09:59 2011 New Revision: 228015 URL: http://svn.freebsd.org/changeset/base/228015 Log: sh: Remove impossible evalskip check in 'for'. Modified: head/bin/sh/eval.c Modified: head/bin/sh/eval.c

svn commit: r228016 - head/sys/netinet

2011-11-26 Thread Lawrence Stewart
Author: lstewart Date: Sun Nov 27 02:32:08 2011 New Revision: 228016 URL: http://svn.freebsd.org/changeset/base/228016 Log: Plug a TCP reassembly UMA zone leak introduced in r226113 by only using the backup stack queue entry when the zone is exhausted, otherwise we leak a zone allocation

Re: svn commit: r227873 - head/usr.bin/procstat

2011-11-26 Thread Bruce Evans
On Sat, 26 Nov 2011, Pawel Jakub Dawidek wrote: On Wed, Nov 23, 2011 at 11:10:47AM -0800, m...@freebsd.org wrote: I don't know if there's a style preference for 0x%lx versus %#lx, though, or a preference for a different type for the print (uintmax_t, for example). There is probably a

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

2011-11-26 Thread Glen Barber
Author: gjb (doc committer) Date: Sun Nov 27 06:55:57 2011 New Revision: 228017 URL: http://svn.freebsd.org/changeset/base/228017 Log: Remove a seemingly unnecessary [1] ellipsis from netmap.4. Spotted by: manlint [1] Modified: head/share/man/man4/netmap.4 Modified: