svn commit: r187976 - head/bin/pax

2009-01-31 Thread Tim Kientzle
Author: kientzle Date: Sun Feb 1 06:15:46 2009 New Revision: 187976 URL: http://svn.freebsd.org/changeset/base/187976 Log: Before this fix, pax would stop the restore sequence for symlinks after setting the owner. As a result, mode and timestamp were not restored. This patch corrects the

svn commit: r187975 - head/lib/libarchive

2009-01-31 Thread Tim Kientzle
Author: kientzle Date: Sun Feb 1 02:33:02 2009 New Revision: 187975 URL: http://svn.freebsd.org/changeset/base/187975 Log: Permit ` as a pad character in the filename table. This seems to fix the devel/zziplib port, which distributes its man pages in an ar archive. Modified: head/lib/lib

svn commit: r187973 - head/sys/geom

2009-01-31 Thread Marcel Moolenaar
Author: marcel Date: Sun Feb 1 01:50:09 2009 New Revision: 187973 URL: http://svn.freebsd.org/changeset/base/187973 Log: Constify val in g_handleattr() and str in g_handleattr_str(). This allows passing string constants to g_handleattr_str(). Modified: head/sys/geom/geom.h head/sys/geom/

svn commit: r187972 - head/sys/dev/usb2/misc

2009-01-31 Thread Andrew Thompson
Author: thompsa Date: Sun Feb 1 01:07:15 2009 New Revision: 187972 URL: http://svn.freebsd.org/changeset/base/187972 Log: Revert part of r187970, the NULL check was removed from udbp_bulk_read_complete() as well as udbp_attach. Modified: head/sys/dev/usb2/misc/udbp2.c Modified: head/sys/d

svn commit: r187970 - in head/sys/dev/usb2: controller core ethernet input misc serial sound storage wlan

2009-01-31 Thread Andrew Thompson
Author: thompsa Date: Sun Feb 1 00:51:25 2009 New Revision: 187970 URL: http://svn.freebsd.org/changeset/base/187970 Log: Remove check for null softc in attach, it can never happen. Modified: head/sys/dev/usb2/controller/at91dci_atmelarm.c head/sys/dev/usb2/controller/ehci2_pci.c head/sy

svn commit: r187969 - head/include

2009-01-31 Thread David E. O'Brien
Author: obrien Date: Sun Feb 1 00:50:46 2009 New Revision: 187969 URL: http://svn.freebsd.org/changeset/base/187969 Log: Also un-split _PATH_STDPATH for grepability. While I'm here, fix other style bugs reported to me. Modified: head/include/paths.h Modified: head/include/paths.h

svn commit: r187968 - head/usr.bin/make

2009-01-31 Thread Warner Losh
Author: imp Date: Sat Jan 31 23:17:33 2009 New Revision: 187968 URL: http://svn.freebsd.org/changeset/base/187968 Log: David doesn't consider the prior -s behavior a bug. Back out this change. Modified: head/usr.bin/make/main.c Modified: head/usr.bin/make/main.c ==

svn commit: r187966 - head/sys/i386/xen

2009-01-31 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jan 31 21:40:27 2009 New Revision: 187966 URL: http://svn.freebsd.org/changeset/base/187966 Log: Bring over the code from sys/i386/i386/mp_machdep.c, r187880 to make XEN config compile again: - Allocate apic vectors on a per-cpu basis. Modified: head/sys/i386/xen/mp_m

svn commit: r187964 - head/sys/amd64/linux32

2009-01-31 Thread David E. O'Brien
Author: obrien Date: Sat Jan 31 20:46:01 2009 New Revision: 187964 URL: http://svn.freebsd.org/changeset/base/187964 Log: Fix the inconsistent tabbing. Noticed by: bde Modified: head/sys/amd64/linux32/linux32_sysvec.c Modified: head/sys/amd64/linux32/linux32_sysvec.c =

svn commit: r187963 - head/tools/regression/lib/libc/stdio

2009-01-31 Thread David Schultz
Author: das Date: Sat Jan 31 18:32:39 2009 New Revision: 187963 URL: http://svn.freebsd.org/changeset/base/187963 Log: Test wprintf() in addition to printf(). Modified: head/tools/regression/lib/libc/stdio/test-printfloat.c Modified: head/tools/regression/lib/libc/stdio/test-printfloat.c ===

svn commit: r187962 - head/tools/regression/lib/msun

2009-01-31 Thread David Schultz
Author: das Date: Sat Jan 31 18:31:57 2009 New Revision: 187962 URL: http://svn.freebsd.org/changeset/base/187962 Log: Add tests for conj{,f,l}() that I wrote some time ago. These test the versions in libm, not the gcc builtins. Added: head/tools/regression/lib/msun/test-conj.c (contents,

Re: svn commit: r187961 - in head: include sys/sys

2009-01-31 Thread David Schultz
On Sat, Jan 31, 2009, David Schultz wrote: > Add a function attribute called `__malloc_like', which informs gcc > that the annotated function returns a pointer that doesn't alias any > extant pointer. It wouldn't hurt if a networking guru added this annotation to the mbuf allocator as well,

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

2009-01-31 Thread David Schultz
Author: das Date: Sat Jan 31 18:27:02 2009 New Revision: 187961 URL: http://svn.freebsd.org/changeset/base/187961 Log: Add a function attribute called `__malloc_like', which informs gcc that the annotated function returns a pointer that doesn't alias any extant pointer. This results in a 50%

svn commit: r187960 - in head/sys/fs: nwfs smbfs

2009-01-31 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jan 31 18:06:34 2009 New Revision: 187960 URL: http://svn.freebsd.org/changeset/base/187960 Log: After r186194 the *fs_strategy() functions always return 0. So we are no longer interested in the error returned from the *fs_doio() functions. With that we can remove the

svn commit: r187959 - in head/sys/fs: coda devfs hpfs nullfs nwfs tmpfs udf

2009-01-31 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jan 31 17:36:22 2009 New Revision: 187959 URL: http://svn.freebsd.org/changeset/base/187959 Log: Remove unused local variables. Submitted by: Christoph Mallon christoph.mal...@gmx.de Reviewed by: kib MFC after:2 weeks Modified: head/sys/fs/coda/coda_vfsops.c

svn commit: r187958 - head/sys/netinet6

2009-01-31 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jan 31 17:35:44 2009 New Revision: 187958 URL: http://svn.freebsd.org/changeset/base/187958 Log: Remove unused local MACROs. Submitted by: Christoph Mallon christoph.mal...@gmx.de MFC after:2 weeks Modified: head/sys/netinet6/nd6.c head/sys/netinet6/nd6_rtr.c

svn commit: r187957 - head/sys/cam/scsi

2009-01-31 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jan 31 17:34:55 2009 New Revision: 187957 URL: http://svn.freebsd.org/changeset/base/187957 Log: There is no need to initialize the variable here. Submitted by: Christoph Mallon christoph.mal...@gmx.de Reviewed by: kib (as part of a larger patch) MFC after:2 we

svn commit: r187956 - head/sbin/reboot

2009-01-31 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jan 31 13:48:15 2009 New Revision: 187956 URL: http://svn.freebsd.org/changeset/base/187956 Log: Remove and unused variable. Submitted by: Christoph Mallon christoph.mal...@gmx.de MFC after:2 weeks Modified: head/sbin/reboot/reboot.c Modified: head/sbin/reboot

svn commit: r187955 - stable/7/sys/netgraph

2009-01-31 Thread Alexander Motin
Author: mav Date: Sat Jan 31 12:48:09 2009 New Revision: 187955 URL: http://svn.freebsd.org/changeset/base/187955 Log: MFC rev. 187495 Check for infinite recursion possible on some broken PPTP/L2TP/... VPN setups. Mark packets with mbuf_tag on first interface passage and drop on second.

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

2009-01-31 Thread Alexander Motin
Author: mav Date: Sat Jan 31 12:44:20 2009 New Revision: 187954 URL: http://svn.freebsd.org/changeset/base/187954 Log: MFC rev. 187410 If source mbuf chain consists of only one mbuf, use it directly as source buffer to avoid extra copying. Modified: stable/7/sys/ (props changed) st

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

2009-01-31 Thread Alexander Motin
Author: mav Date: Sat Jan 31 12:41:44 2009 New Revision: 187953 URL: http://svn.freebsd.org/changeset/base/187953 Log: MFC rev. 187405 Use m_unshare()+m_copyback() instead of m_freem()+m_devget() to keep original mbuf chain headers. It can be less efficient in some cases, but it looks b

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

2009-01-31 Thread Alexander Motin
Author: mav Date: Sat Jan 31 12:32:18 2009 New Revision: 187952 URL: http://svn.freebsd.org/changeset/base/187952 Log: MFC rev. 187409 Teach m_copyback() to use trailing space of the last mbuf in chain. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props chang

svn commit: r187951 - stable/6/share/man/man7

2009-01-31 Thread Giorgos Keramidas
Author: keramida (doc committer) Date: Sat Jan 31 12:29:12 2009 New Revision: 187951 URL: http://svn.freebsd.org/changeset/base/187951 Log: MFC 166076 from /head : bms | 2007-01-18 00:23:28 +0200 : : Document the loader tunables which control hard process memory limits. : : Reviewed

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

2009-01-31 Thread Alexander Motin
Author: mav Date: Sat Jan 31 12:26:06 2009 New Revision: 187950 URL: http://svn.freebsd.org/changeset/base/187950 Log: MFC rev. 187368 Convert battery capacity/rate from mA to mW only when summary is requested. Unconditional conversion causes incorrect rate units reported by acpiconf.

svn commit: r187949 - head/sys/netinet6

2009-01-31 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jan 31 12:24:53 2009 New Revision: 187949 URL: http://svn.freebsd.org/changeset/base/187949 Log: Coalesce two consecutive #ifdef IPSEC blocks. Move the skip_ipsec: label below the goto as we can never have ipsecrt set if we get to that label so there is no need to check.

Re: svn commit: r187948 - in head/sys: amd64/amd64 amd64/ia32 amd64/include amd64/linux32 compat/ndis i386/i386 i386/include i386/linux i386/svr4

2009-01-31 Thread David O'Brien
On Sat, Jan 31, 2009 at 11:37:21AM +, David O'Brien (@FreeBSD) wrote: > Author: obrien > Date: Sat Jan 31 11:37:21 2009 > New Revision: 187948 > URL: http://svn.freebsd.org/changeset/base/187948 > > Log: > Change some movl's to mov's. Newer GAS no longer accept 'movl' instructions > for m

svn commit: r187948 - in head/sys: amd64/amd64 amd64/ia32 amd64/include amd64/linux32 compat/ndis i386/i386 i386/include i386/linux i386/svr4

2009-01-31 Thread David E. O'Brien
Author: obrien Date: Sat Jan 31 11:37:21 2009 New Revision: 187948 URL: http://svn.freebsd.org/changeset/base/187948 Log: Change some movl's to mov's. Newer GAS no longer accept 'movl' instructions for moving between a segment register and a 32-bit memory location. Looked at by: jhb Mod

svn commit: r187947 - head/sys/netinet6

2009-01-31 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jan 31 11:19:20 2009 New Revision: 187947 URL: http://svn.freebsd.org/changeset/base/187947 Log: Remove dead code from #if 0: we do not have an ipsrcchk_rt anywhere else. MFC after:2 weeks Modified: head/sys/netinet6/frag6.c Modified: head/sys/netinet6/frag6.c

svn commit: r187946 - in head/sys: net netinet6

2009-01-31 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jan 31 10:48:02 2009 New Revision: 187946 URL: http://svn.freebsd.org/changeset/base/187946 Log: Like with r185713 make sure to not leak a lock as rtalloc1(9) returns a locked route. Thus we have to use RTFREE_LOCKED(9) to get it unlocked and rtfree(9)d rather than just

svn commit: r187945 - head/sys/sys

2009-01-31 Thread Tom Rhodes
Author: trhodes Date: Sat Jan 31 10:04:36 2009 New Revision: 187945 URL: http://svn.freebsd.org/changeset/base/187945 Log: Fix a typo in a comment. Modified: head/sys/sys/unistd.h Modified: head/sys/sys/unistd.h == -

svn commit: r187944 - head/sys/dev/sound/pci/hda

2009-01-31 Thread Alexander Motin
Author: mav Date: Sat Jan 31 08:24:09 2009 New Revision: 187944 URL: http://svn.freebsd.org/changeset/base/187944 Log: Fix bug in hint.hdac.X.config parsing. Modified: head/sys/dev/sound/pci/hda/hdac.c Modified: head/sys/dev/sound/pci/hda/hdac.c ==