svn commit: r189785 - head/sys/amd64/amd64

2009-03-14 Thread Alan Cox
Author: alc Date: Sat Mar 14 08:28:02 2009 New Revision: 189785 URL: http://svn.freebsd.org/changeset/base/189785 Log: Update the pmap's resident page count when a page table page is freed in pmap_remove_pde() and pmap_remove_pages(). MFC after:6 weeks Modified:

Re: svn commit: r189777 - head/lib/libc/nls

2009-03-14 Thread Ed Schouten
Hi Gabor, * Gabor Kovesdan ga...@freebsd.org wrote: mkdir -p ${CANONICALOBJDIR}/../../lib32/usr/share/nls/${c} mkdir -p ${CANONICALOBJDIR}/../../tmp/usr/share/nls/${c} This also seems to cause directories to be created in /usr/obj/lib32 when lib32 is explicitly disabled. -- Ed

svn commit: r189787 - head/sys/kern

2009-03-14 Thread Jeff Roberson
Author: jeff Date: Sat Mar 14 11:41:36 2009 New Revision: 189787 URL: http://svn.freebsd.org/changeset/base/189787 Log: - Fix an error that occurs when mp_ncpu is an odd number. steal_thresh is calculated as 0 which causes errors elsewhere. Submitted by: KOIE Hidetaka

svn commit: r189789 - head/sys/kern

2009-03-14 Thread Jeff Roberson
Author: jeff Date: Sat Mar 14 11:43:38 2009 New Revision: 189789 URL: http://svn.freebsd.org/changeset/base/189789 Log: - When a mutex is destroyed while locked we need to inform lock profiling that it has been released. Modified: head/sys/kern/kern_mutex.c Modified:

Re: svn commit: r189777 - head/lib/libc/nls

2009-03-14 Thread Gábor Kövesdán
Ed Schouten escribió: * Gabor Kovesdan ga...@freebsd.org wrote: - Fix object directory creation when running threaded buildworld Isn't this normally done by the mtrees? I haven't yet found a better solution for this. I also grepped for mtree in the source tree hoping that it

Re: svn commit: r189781 - stable/7/sys/kern

2009-03-14 Thread Bruce Simpson
Bruce Simpson wrote: http://people.freebsd.org/~bms/dump/python26-fbsd-pth.patch This patch has been committed to the lang/python26 port with some fixups (thanks miwi). If you're a Python user, please try testing a Python port build with the SEM option selected so POSIX semaphores can

svn commit: r189790 - head/sys/netinet

2009-03-14 Thread Randall Stewart
Author: rrs Date: Sat Mar 14 13:42:13 2009 New Revision: 189790 URL: http://svn.freebsd.org/changeset/base/189790 Log: Fixes several PR-SCTP releated bugs. - When sending large PR-SCTP messages over a lossy link we would incorrectly calculate the fwd-tsn - When receiving large

svn commit: r189791 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb ufs/ffs

2009-03-14 Thread Konstantin Belousov
Author: kib Date: Sat Mar 14 14:02:53 2009 New Revision: 189791 URL: http://svn.freebsd.org/changeset/base/189791 Log: MFC r189706: Do not double-free the struct inode when insmntque failed. Default insmntque destructor reclaims the vnode, and ufs_reclaim frees the memory. Modified:

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

2009-03-14 Thread Warner Losh
Author: imp Date: Sat Mar 14 14:08:53 2009 New Revision: 189792 URL: http://svn.freebsd.org/changeset/base/189792 Log: Two fixes: (1) Fix pcib_read/write_config prototypes. (2) When contrainting a resource request for a 'subtractive' bridge, it is important to select a range outside

Re: svn commit: r189777 - head/lib/libc/nls

2009-03-14 Thread M. Warner Losh
In message: 20090314105656.gw31...@hoeg.nl Ed Schouten e...@80386.nl writes: : Hi Gabor, : : * Gabor Kovesdan ga...@freebsd.org wrote: : mkdir -p ${CANONICALOBJDIR}/../../lib32/usr/share/nls/${c} : mkdir -p ${CANONICALOBJDIR}/../../tmp/usr/share/nls/${c} : : This also seems

Re: svn commit: r189777 - head/lib/libc/nls

2009-03-14 Thread M. Warner Losh
In message: 49bb98a1.80...@freebsd.org Gábor_Kövesdán ga...@freebsd.org writes: : Ed Schouten escribió: : * Gabor Kovesdan ga...@freebsd.org wrote: : :- Fix object directory creation when running threaded buildworld : : : Isn't this normally done by the mtrees? : :

Re: svn commit: r189777 - head/lib/libc/nls

2009-03-14 Thread Gábor Kövesdán
M. Warner Losh escribió: In message: 49bb98a1.80...@freebsd.org Gábor_Kövesdán ga...@freebsd.org writes: : Ed Schouten escribió: : * Gabor Kovesdan ga...@freebsd.org wrote: : :- Fix object directory creation when running threaded buildworld : : : Isn't this normally

Re: svn commit: r189777 - head/lib/libc/nls

2009-03-14 Thread M. Warner Losh
In message: 49bbc0a5.3080...@freebsd.org Gábor_Kövesdán ga...@freebsd.org writes: : M. Warner Losh escribió: : In message: 49bb98a1.80...@freebsd.org : Gábor_Kövesdán ga...@freebsd.org writes: : : Ed Schouten escribió: : : * Gabor Kovesdan ga...@freebsd.org wrote: : :

svn commit: r189795 - head/sys/i386/i386

2009-03-14 Thread Alan Cox
Author: alc Date: Sat Mar 14 15:37:19 2009 New Revision: 189795 URL: http://svn.freebsd.org/changeset/base/189795 Log: MFamd64 r189785 Update the pmap's resident page count when a page table page is freed in pmap_remove_pde() and pmap_remove_pages(). MFC after:6 weeks

svn commit: r189797 - head/sys/security/mac

2009-03-14 Thread Robert Watson
Author: rwatson Date: Sat Mar 14 16:06:06 2009 New Revision: 189797 URL: http://svn.freebsd.org/changeset/base/189797 Log: Rework MAC Framework synchronization in a number of ways in order to improve performance: - Eliminate custom reference count and condition variable to monitor

Re: svn commit: r189790 - head/sys/netinet

2009-03-14 Thread Kostik Belousov
On Sat, Mar 14, 2009 at 01:42:14PM +, Randall Stewart wrote: Author: rrs Date: Sat Mar 14 13:42:13 2009 New Revision: 189790 URL: http://svn.freebsd.org/changeset/base/189790 Log: Fixes several PR-SCTP releated bugs. - When sending large PR-SCTP messages over a lossy link

svn commit: r189801 - in head: cddl cddl/lib/libzpool cddl/usr.bin/ztest cddl/usr.sbin/zdb share/mk tools/regression/include/tgmath

2009-03-14 Thread Roman Divacky
Author: rdivacky Date: Sat Mar 14 17:55:16 2009 New Revision: 189801 URL: http://svn.freebsd.org/changeset/base/189801 Log: Switch over to gnu99 compilation on default for userland. Tested by:make universe Tested by:ports exp build (done by pav) Reviewed by: ru Reviewed by:

svn commit: r189800 - head/sys/net

2009-03-14 Thread Sam Leffler
Author: sam Date: Sat Mar 14 17:54:58 2009 New Revision: 189800 URL: http://svn.freebsd.org/changeset/base/189800 Log: remove stray ; Modified: head/sys/net/if.c Modified: head/sys/net/if.c == --- head/sys/net/if.c

svn commit: r189803 - head/lib/msun/src

2009-03-14 Thread David Schultz
Author: das Date: Sat Mar 14 18:24:15 2009 New Revision: 189803 URL: http://svn.freebsd.org/changeset/base/189803 Log: Eliminate __real__ and __imag__ gccisms. Modified: head/lib/msun/src/math_private.h head/lib/msun/src/s_cimag.c head/lib/msun/src/s_cimagf.c

svn commit: r189802 - in stable/7/lib/libc: . stdio

2009-03-14 Thread David Schultz
Author: das Date: Sat Mar 14 18:19:50 2009 New Revision: 189802 URL: http://svn.freebsd.org/changeset/base/189802 Log: Partial MFC of r189131: Make sure %zd treats negative arguments properly on 32-bit platforms. PR: 131880 Modified: stable/7/lib/libc/ (props changed)

svn commit: r189805 - head/lib/msun/src

2009-03-14 Thread David Schultz
Author: das Date: Sat Mar 14 18:58:53 2009 New Revision: 189805 URL: http://svn.freebsd.org/changeset/base/189805 Log: Namespace: scalb() is withdrawn from POSIX. Modified: head/lib/msun/src/math.h Modified: head/lib/msun/src/math.h

svn commit: r189806 - head/include/arpa

2009-03-14 Thread David Schultz
Author: das Date: Sat Mar 14 19:00:16 2009 New Revision: 189806 URL: http://svn.freebsd.org/changeset/base/189806 Log: Namespace: inet_ntoa_r() is a BSD extension. Modified: head/include/arpa/inet.h Modified: head/include/arpa/inet.h

svn commit: r189807 - head/include

2009-03-14 Thread David Schultz
Author: das Date: Sat Mar 14 19:01:26 2009 New Revision: 189807 URL: http://svn.freebsd.org/changeset/base/189807 Log: Namespace: _setjmp() and _longjmp() are XSI extensions. Modified: head/include/setjmp.h Modified: head/include/setjmp.h

svn commit: r189808 - head/include

2009-03-14 Thread David Schultz
Author: das Date: Sat Mar 14 19:02:28 2009 New Revision: 189808 URL: http://svn.freebsd.org/changeset/base/189808 Log: Namespace: dbm_forder() and dbm_dirfno() are BSD extensions. Modified: head/include/ndbm.h Modified: head/include/ndbm.h

svn commit: r189809 - head/include

2009-03-14 Thread David Schultz
Author: das Date: Sat Mar 14 19:03:34 2009 New Revision: 189809 URL: http://svn.freebsd.org/changeset/base/189809 Log: Namespace: memccpy() and memchr() are XSI, and memrchr() is a BSD extension. Modified: head/include/string.h Modified: head/include/string.h

svn commit: r189810 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern sys

2009-03-14 Thread Konstantin Belousov
Author: kib Date: Sat Mar 14 19:03:40 2009 New Revision: 189810 URL: http://svn.freebsd.org/changeset/base/189810 Log: MFC r178585 (by pjd): Implement 'show mount' command in DDB. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed)

svn commit: r189811 - head/include

2009-03-14 Thread David Schultz
Author: das Date: Sat Mar 14 19:04:24 2009 New Revision: 189811 URL: http://svn.freebsd.org/changeset/base/189811 Log: Don't prototype _tolower() and _toupper(). They're not supposed to be functions, and there's no implementation of them in any case. Modified: head/include/ctype.h

svn commit: r189814 - head/sys/sys

2009-03-14 Thread David Schultz
Author: das Date: Sat Mar 14 19:06:52 2009 New Revision: 189814 URL: http://svn.freebsd.org/changeset/base/189814 Log: Namespace: semsys() and shmsys() aren't standard. Modified: head/sys/sys/sem.h head/sys/sys/shm.h Modified: head/sys/sys/sem.h

svn commit: r189815 - head/sys/sys

2009-03-14 Thread David Schultz
Author: das Date: Sat Mar 14 19:07:25 2009 New Revision: 189815 URL: http://svn.freebsd.org/changeset/base/189815 Log: Namespace: vsyslog() is a BSD extension. Modified: head/sys/sys/syslog.h Modified: head/sys/sys/syslog.h

svn commit: r189817 - in head: include sys/sys

2009-03-14 Thread David Schultz
Author: das Date: Sat Mar 14 19:11:08 2009 New Revision: 189817 URL: http://svn.freebsd.org/changeset/base/189817 Log: Various namespace cleanups, including exposing fchmod() and fchmodat() in the POSIX namespace, and hiding eaccess() and setproctitle(). Also move mknodat() from unistd.h to

svn commit: r189818 - head/include

2009-03-14 Thread David Schultz
Author: das Date: Sat Mar 14 19:12:11 2009 New Revision: 189818 URL: http://svn.freebsd.org/changeset/base/189818 Log: Namespace: dprintf() and getline() are in P1003.1-2008. Modified: head/include/stdio.h Modified: head/include/stdio.h

svn commit: r189819 - head/include

2009-03-14 Thread David Schultz
Author: das Date: Sat Mar 14 19:13:01 2009 New Revision: 189819 URL: http://svn.freebsd.org/changeset/base/189819 Log: Namespace: endpwent, getpwent, and setpwent are XSI extensions. Modified: head/include/pwd.h Modified: head/include/pwd.h

svn commit: r189820 - head/include

2009-03-14 Thread David Schultz
Author: das Date: Sat Mar 14 19:13:30 2009 New Revision: 189820 URL: http://svn.freebsd.org/changeset/base/189820 Log: Namespace: abort2() is a BSD extension. Modified: head/include/stdlib.h Modified: head/include/stdlib.h

svn commit: r189821 - head/sys/sys

2009-03-14 Thread David Schultz
Author: das Date: Sat Mar 14 19:15:13 2009 New Revision: 189821 URL: http://svn.freebsd.org/changeset/base/189821 Log: Namespace: adjtime(), futimes(), futimesat(), lutimes(), and settimeofday() are BSD extensions. Also include sys/select.h in user code, since this header is also

svn commit: r189822 - head/sys/sys

2009-03-14 Thread David Schultz
Author: das Date: Sat Mar 14 19:17:00 2009 New Revision: 189822 URL: http://svn.freebsd.org/changeset/base/189822 Log: Namespace: aio_waitcomplete() is a BSD extension. Also, don't pollute the namespace by including sys/time.h. Modified: head/sys/sys/aio.h Modified: head/sys/sys/aio.h

svn commit: r189823 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern

2009-03-14 Thread Konstantin Belousov
Author: kib Date: Sat Mar 14 19:35:13 2009 New Revision: 189823 URL: http://svn.freebsd.org/changeset/base/189823 Log: MFC r179093 (by pjd): Be more friendly for DDB pager. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed)

svn commit: r189824 - in head/contrib/gcc: . doc

2009-03-14 Thread David Schultz
Author: das Date: Sat Mar 14 19:36:13 2009 New Revision: 189824 URL: http://svn.freebsd.org/changeset/base/189824 Log: Make gcc use C99 inline semantics in c99 and gnu99 mode. This was the original intent, but the functionality wasn't implemented until after gcc 4.2 was released. However,

svn commit: r189825 - head/sys/sys

2009-03-14 Thread David Schultz
Author: das Date: Sat Mar 14 19:44:13 2009 New Revision: 189825 URL: http://svn.freebsd.org/changeset/base/189825 Log: Bump __FreeBSD_version to 800071 for gcc patch to add support for C99 inline functions in c99 and gnu99 mode. Modified: head/sys/sys/param.h Modified:

Re: svn commit: r189790 - head/sys/netinet

2009-03-14 Thread Garrett Cooper
On Sat, Mar 14, 2009 at 9:06 AM, Kostik Belousov kostik...@gmail.com wrote: On Sat, Mar 14, 2009 at 01:42:14PM +, Randall Stewart wrote: Author: rrs Date: Sat Mar 14 13:42:13 2009 New Revision: 189790 URL: http://svn.freebsd.org/changeset/base/189790 Log:   Fixes several PR-SCTP

svn commit: r189826 - head/include

2009-03-14 Thread David Schultz
Author: das Date: Sat Mar 14 20:04:28 2009 New Revision: 189826 URL: http://svn.freebsd.org/changeset/base/189826 Log: Hide numerous BSD extensions in the POSIX namespace. Modified: head/include/netdb.h Modified: head/include/netdb.h

svn commit: r189827 - head/include

2009-03-14 Thread David Schultz
Author: das Date: Sat Mar 14 20:05:27 2009 New Revision: 189827 URL: http://svn.freebsd.org/changeset/base/189827 Log: Hide dbopen() in the POSIX namespace, and use standard type names throughout so that this compiles in strict POSIX mode. Modified: head/include/db.h Modified:

svn commit: r189828 - in head: include sys/sys

2009-03-14 Thread David Schultz
Author: das Date: Sat Mar 14 20:10:14 2009 New Revision: 189828 URL: http://svn.freebsd.org/changeset/base/189828 Log: Fix the visibility of several prototypes. Also move pthread_kill() and pthread_sigmask() to signal.h. In principle, this shouldn't break anything, since they're already in

Re: svn commit: r189777 - head/lib/libc/nls

2009-03-14 Thread Gábor Kövesdán
M. Warner Losh escribió: In message: 49bbc0a5.3080...@freebsd.org Gábor_Kövesdán ga...@freebsd.org writes: : M. Warner Losh escribió: : In message: 49bb98a1.80...@freebsd.org : Gábor_Kövesdán ga...@freebsd.org writes: : : Ed Schouten escribió: : : * Gabor Kovesdan

svn commit: r189829 - head/sys/netinet

2009-03-14 Thread David Schultz
Author: das Date: Sat Mar 14 20:16:54 2009 New Revision: 189829 URL: http://svn.freebsd.org/changeset/base/189829 Log: Namespace: Defining htonl() and friends here instead of arpa/inet.h is a BSD extension. Modified: head/sys/netinet/in.h Modified: head/sys/netinet/in.h

Fixes for SCTP compile errors on CURRENT [was Re: svn commit: r189790 - head/sys/netinet]

2009-03-14 Thread Garrett Cooper
On Sat, Mar 14, 2009 at 12:54 PM, Garrett Cooper yanef...@gmail.com wrote: On Sat, Mar 14, 2009 at 9:06 AM, Kostik Belousov kostik...@gmail.com wrote: On Sat, Mar 14, 2009 at 01:42:14PM +, Randall Stewart wrote: Author: rrs Date: Sat Mar 14 13:42:13 2009 New Revision: 189790 URL:

svn commit: r189830 - head/sys/security/mac_portacl

2009-03-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Mar 14 20:40:06 2009 New Revision: 189830 URL: http://svn.freebsd.org/changeset/base/189830 Log: - Correct logic in if statement - we want to allocate temporary buffer when someone is passing new rules, not when he only want to read them. Because of this bug, even

Re: svn commit: r189777 - head/lib/libc/nls

2009-03-14 Thread Ed Schouten
Hi Gábor, * Gábor Kövesdán ga...@freebsd.org wrote: Do you think this is the right fix? http://kovesdan.org/patches/mtree-fix.diff That seems to be a lot better (though someone else should still review it). Maybe we can remove some of those mkdir calls there as well? -- Ed Schouten

svn commit: r189831 - stable/7/usr.bin/du

2009-03-14 Thread Max Laier
Author: mlaier Date: Sat Mar 14 21:03:03 2009 New Revision: 189831 URL: http://svn.freebsd.org/changeset/base/189831 Log: MFC: - r184733, r184742 Add -A and -B options - r184654, r184656 style(9) changes - r173387, r173431 (by kevlo) Check return value for setenv() In

svn commit: r189832 - head/tools/regression/mac/mac_portacl

2009-03-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Mar 14 21:54:19 2009 New Revision: 189832 URL: http://svn.freebsd.org/changeset/base/189832 Log: Regression tests for mac_portacl(4). Added: head/tools/regression/mac/mac_portacl/ head/tools/regression/mac/mac_portacl/LICENSE (contents, props changed)

svn commit: r189833 - head/tools/regression/mac/mac_portacl

2009-03-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Mar 14 21:59:12 2009 New Revision: 189833 URL: http://svn.freebsd.org/changeset/base/189833 Log: Oops. Correct comment in the LICENSE file. Modified: head/tools/regression/mac/mac_portacl/LICENSE Modified: head/tools/regression/mac/mac_portacl/LICENSE

Re: svn commit: r189801 - in head: cddl cddl/lib/libzpool cddl/usr.bin/ztest cddl/usr.sbin/zdb share/mk tools/regression/include/tgmath

2009-03-14 Thread Martin Voros
- Original Message From: Roman Divacky rdiva...@freebsd.org To: src-committ...@freebsd.org; svn-src-all@freebsd.org; svn-src-h...@freebsd.org Sent: Sunday, March 15, 2009 4:55:16 AM Subject: svn commit: r189801 - in head: cddl cddl/lib/libzpool cddl/usr.bin/ztest

svn commit: r189834 - in head: gnu/usr.bin/cc usr.sbin/wpa

2009-03-14 Thread David Schultz
Author: das Date: Sat Mar 14 22:50:03 2009 New Revision: 189834 URL: http://svn.freebsd.org/changeset/base/189834 Log: Fix build breakage due to the interplay between r189801 and r189824. In particular, vendor sources that aren't ready for gnu99 should still be compiled with gnu89. (Before

Re: svn commit: r189777 - head/lib/libc/nls

2009-03-14 Thread M. Warner Losh
In message: 20090314205617.gx31...@hoeg.nl Ed Schouten e...@80386.nl writes: : Hi Gábor, : : * Gábor Kövesdán ga...@freebsd.org wrote: : Do you think this is the right fix? : http://kovesdan.org/patches/mtree-fix.diff : : That seems to be a lot better (though someone else should

svn commit: r189836 - head/sys/netinet

2009-03-14 Thread Randall Stewart
Author: rrs Date: Sat Mar 14 23:13:16 2009 New Revision: 189836 URL: http://svn.freebsd.org/changeset/base/189836 Log: Opps.. I missed a file on the commit :-) Modified: head/sys/netinet/sctp_structs.h Modified: head/sys/netinet/sctp_structs.h

Re: Fixes for SCTP compile errors on CURRENT [was Re: svn commit: r189790 - head/sys/netinet]

2009-03-14 Thread Randall Stewart
Garret: That was my bad.. I missed a file on the commit (sctp_structs.h).. Its now committed :-) As far as it being set.. of course it is.. basically the flag is used for large messages when doing PR-SCTP (something that is probably not wise.. but I had someone in Chile doing this).. and it

Re: svn commit: r189765 - in head: . lib/libc lib/libc/nls

2009-03-14 Thread Joerg Sonnenberger
On Fri, Mar 13, 2009 at 01:36:07PM -0500, Sean C. Farley wrote: I have not explored either. The Citrus version appears to have more functionality, however, the Citrus website is ambiguous about the license. Please forget whatever you read on the Citrus website and just look inside the

svn commit: r189841 - head/contrib/wpa/hostapd

2009-03-14 Thread Sam Leffler
Author: sam Date: Sun Mar 15 01:38:37 2009 New Revision: 189841 URL: http://svn.freebsd.org/changeset/base/189841 Log: remove gcc-ism; tsinfo isn't used anyway Modified: head/contrib/wpa/hostapd/wme.h Modified: head/contrib/wpa/hostapd/wme.h

svn commit: r189842 - head/usr.sbin/wpa

2009-03-14 Thread Sam Leffler
Author: sam Date: Sun Mar 15 01:39:16 2009 New Revision: 189842 URL: http://svn.freebsd.org/changeset/base/189842 Log: no need to for gnu89 any more Modified: head/usr.sbin/wpa/Makefile.inc Modified: head/usr.sbin/wpa/Makefile.inc