svn commit: r191136 - head/sys/kern

2009-04-16 Thread Konstantin Belousov
Author: kib Date: Thu Apr 16 09:37:48 2009 New Revision: 191136 URL: http://svn.freebsd.org/changeset/base/191136 Log: In flushbufqueues(), do not allocate sentinel buffer on the stack, struct buf is large. Use sleeping malloc(9) call, and zero the allocated buf as a debugging feature. Modi

svn commit: r191137 - head/sys/ufs/ufs

2009-04-16 Thread Konstantin Belousov
Author: kib Date: Thu Apr 16 09:57:08 2009 New Revision: 191137 URL: http://svn.freebsd.org/changeset/base/191137 Log: Verify that '..' still exists with the same inode number after VFS_VGET() has returned in ufs_lookup(). If the '..' lookup started immediately before the parent directory wa

svn commit: r191135 - head/sys/kern

2009-04-16 Thread Konstantin Belousov
Author: kib Date: Thu Apr 16 09:33:52 2009 New Revision: 191135 URL: http://svn.freebsd.org/changeset/base/191135 Log: Export the number of times bufdaemon got help from the normal threads. Modified: head/sys/kern/vfs_bio.c Modified: head/sys/kern/vfs_bio.c ==

svn commit: r191138 - in head/sys: dev/ar dev/ray dev/sr modules modules/ar modules/netgraph/sync_ar modules/netgraph/sync_sr modules/ray modules/sr

2009-04-16 Thread Robert Watson
Author: rwatson Date: Thu Apr 16 11:09:13 2009 New Revision: 191138 URL: http://svn.freebsd.org/changeset/base/191138 Log: Garbage collect unbuildable and unusable non-MPSAFE network device drivers that depended on the historic IFF_NEEDSGIANT compatibility mechanism: ar(4) ray(4)

svn commit: r191139 - head/share/man/man4/man4.i386

2009-04-16 Thread Robert Watson
Author: rwatson Date: Thu Apr 16 11:09:59 2009 New Revision: 191139 URL: http://svn.freebsd.org/changeset/base/191139 Log: Remove man pages ar(4), ray(4), and sr(4) following removal of these non-MPSAFE device drivers. Deleted: head/share/man/man4/man4.i386/ar.4 head/share/man/man4/man4.i

svn commit: r191140 - in head/sys: arm/mv dev/mge

2009-04-16 Thread Rafal Jaworowski
Author: raj Date: Thu Apr 16 11:20:18 2009 New Revision: 191140 URL: http://svn.freebsd.org/changeset/base/191140 Log: Adjust Marvell Discovery (MV78xxx) support to recognize newest chip revisions, handle Z0 revision (early silicon) explicitly due to its quirks. Obtained from:Marv

svn commit: r191141 - head/sys/arm/arm

2009-04-16 Thread Rafal Jaworowski
Author: raj Date: Thu Apr 16 11:21:52 2009 New Revision: 191141 URL: http://svn.freebsd.org/changeset/base/191141 Log: Minor style fixes and better comments. Modified: head/sys/arm/arm/cpufunc_asm_armv5_ec.S head/sys/arm/arm/cpufunc_asm_sheeva.S Modified: head/sys/arm/arm/cpufunc_asm_armv5

svn commit: r191142 - head/sys/dev/mge

2009-04-16 Thread Rafal Jaworowski
Author: raj Date: Thu Apr 16 11:38:06 2009 New Revision: 191142 URL: http://svn.freebsd.org/changeset/base/191142 Log: mge(4): fix two bugs, which were leading to crash/hang under very heavy network load. 1. Leave the RX interrupt routine if there is no mbuf available. 2. Properly in

svn commit: r191143 - head/sys/security/audit

2009-04-16 Thread Robert Watson
Author: rwatson Date: Thu Apr 16 11:57:16 2009 New Revision: 191143 URL: http://svn.freebsd.org/changeset/base/191143 Log: Remove D_NEEDGIANT from audit pipes. I'm actually not sure why this was here, but isn't needed. MFC after:2 weeks Sponsored by: Apple, Inc. Modified: head/s

svn commit: r191144 - in head/usr.sbin: . raycontrol

2009-04-16 Thread Robert Watson
Author: rwatson Date: Thu Apr 16 14:43:59 2009 New Revision: 191144 URL: http://svn.freebsd.org/changeset/base/191144 Log: Garbage collect raycontrol(8), as ray(4) has been removed. Pointed out by: pluknet at gmail.com Deleted: head/usr.sbin/raycontrol/ Modified: head/usr.sbin/Ma

svn commit: r191145 - head/sys/rpc

2009-04-16 Thread Rick Macklem
Author: rmacklem Date: Thu Apr 16 16:26:35 2009 New Revision: 191145 URL: http://svn.freebsd.org/changeset/base/191145 Log: Added a field to the SVCXPRT structure that the nfsv4 server can use to identify if the socket is the same one that a cached request came in on. It is

Re: svn commit: r191144 - in head/usr.sbin: . raycontrol

2009-04-16 Thread Max Laier
On Thursday 16 April 2009 16:43:59 Robert Watson wrote: > Author: rwatson > Date: Thu Apr 16 14:43:59 2009 > New Revision: 191144 > URL: http://svn.freebsd.org/changeset/base/191144 > > Log: > Garbage collect raycontrol(8), as ray(4) has been removed. ObsoleteFiles.inc needs this as well. > P

svn commit: r191146 - head

2009-04-16 Thread Maxim Konovalov
== --- head/ObsoleteFiles.inc Thu Apr 16 16:26:35 2009(r191145) +++ head/ObsoleteFiles.inc Thu Apr 16 17:42:25 2009(r191146) @@ -14,6 +14,12 @@ # The file is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS last. # +# 20090416: removal

Re: svn commit: r191144 - in head/usr.sbin: . raycontrol

2009-04-16 Thread Maxim Konovalov
On Thu, 16 Apr 2009, 18:28+0200, Max Laier wrote: > On Thursday 16 April 2009 16:43:59 Robert Watson wrote: > > Author: rwatson > > Date: Thu Apr 16 14:43:59 2009 > > New Revision: 191144 > > URL: http://svn.freebsd.org/changeset/base/191144 > > > > Log: > > Garbage collect raycontrol(8), as ray

svn commit: r191147 - in head/sys: bsm security/audit

2009-04-16 Thread Robert Watson
Author: rwatson Date: Thu Apr 16 20:17:32 2009 New Revision: 191147 URL: http://svn.freebsd.org/changeset/base/191147 Log: Merge new kernel files from OpenBSM 1.1: audit_fcntl.h and audit_bsm_fcntl.c contain utility routines to map local fcntl commands into BSM constants. Adaptation to the

svn commit: r191148 - in head/sys: contrib/ipfilter/netinet contrib/pf/net dev/iicbus dev/lmc dev/ppbus net net80211 netgraph netinet netinet6 netipx

2009-04-16 Thread Kip Macy
Author: kmacy Date: Thu Apr 16 20:30:28 2009 New Revision: 191148 URL: http://svn.freebsd.org/changeset/base/191148 Log: Change if_output to take a struct route as its fourth argument in order to allow passing a cached struct llentry * down to L2 Reviewed by: rwatson Modified: head/sy

svn commit: r191154 - head/sys/net

2009-04-16 Thread Kip Macy
Author: kmacy Date: Thu Apr 16 22:04:07 2009 New Revision: 191154 URL: http://svn.freebsd.org/changeset/base/191154 Log: add utility routine for updating an struct llentry * Modified: head/sys/net/if_llatbl.c head/sys/net/if_llatbl.h Modified: head/sys/net/if_llatbl.c =

svn commit: r191158 - head/sys/netinet

2009-04-16 Thread Kip Macy
Author: kmacy Date: Thu Apr 16 22:47:43 2009 New Revision: 191158 URL: http://svn.freebsd.org/changeset/base/191158 Log: restore spare pointers for MFCing Modified: head/sys/netinet/in_pcb.h Modified: head/sys/netinet/in_pcb.h =

Re: svn commit: r191037 - head/sys/net

2009-04-16 Thread Robert Watson
On Tue, 14 Apr 2009, Kip Macy wrote: The commit message should perhaps read:  Call default if_qflush on ifq if there are still packets left in the default queue after calling the driver's flush method. However, this seems a bit odd: what if the driver uses if_snd as its queue but implements

svn commit: r191159 - head/sys/net

2009-04-16 Thread Kip Macy
Author: kmacy Date: Thu Apr 16 22:55:59 2009 New Revision: 191159 URL: http://svn.freebsd.org/changeset/base/191159 Log: add comment to llentry_update Requested by: sam Modified: head/sys/net/if_llatbl.c Modified: head/sys/net/if_llatbl.c

svn commit: r191161 - head/sys/net

2009-04-16 Thread Kip Macy
Author: kmacy Date: Thu Apr 16 23:05:10 2009 New Revision: 191161 URL: http://svn.freebsd.org/changeset/base/191161 Log: export if_qflush for use by driver if_qflush routines only set ifp->if_{transmit, qflush} if not already set KASSERT that neither or both are set Modified: head/sys/net

svn commit: r191160 - head/sys/netinet

2009-04-16 Thread Kip Macy
Author: kmacy Date: Thu Apr 16 23:02:56 2009 New Revision: 191160 URL: http://svn.freebsd.org/changeset/base/191160 Log: s/void/void */ Modified: head/sys/netinet/in_pcb.h Modified: head/sys/netinet/in_pcb.h == --- h

svn commit: r191162 - head/sys/dev/e1000

2009-04-16 Thread Kip Macy
Author: kmacy Date: Thu Apr 16 23:08:02 2009 New Revision: 191162 URL: http://svn.freebsd.org/changeset/base/191162 Log: call base if_qflush routine to flush if_snd Modified: head/sys/dev/e1000/if_em.c Modified: head/sys/dev/e1000/if_em.c =

Re: svn commit: r191037 - head/sys/net

2009-04-16 Thread Kip Macy
see 191161 - I think it addresses everything -Kip On Thu, Apr 16, 2009 at 3:51 PM, Robert Watson wrote: > On Tue, 14 Apr 2009, Kip Macy wrote: > >>> The commit message should perhaps read: >>> >>>  Call default if_qflush on ifq if there are still packets left in the >>>  default queue after call

svn commit: r191163 - head/sys/dev/if_ndis

2009-04-16 Thread Andrew Thompson
Author: thompsa Date: Thu Apr 16 23:42:00 2009 New Revision: 191163 URL: http://svn.freebsd.org/changeset/base/191163 Log: Only call ieee80211_start_all() if its a 80211 device. Submitted by: Paul B. Mahol Modified: head/sys/dev/if_ndis/if_ndis.c Modified: head/sys/dev/if_ndis/if_ndis.c

svn commit: r191164 - head/sys/dev/atkbdc

2009-04-16 Thread Maksim Yevmenkin
Author: emax Date: Fri Apr 17 00:30:56 2009 New Revision: 191164 URL: http://svn.freebsd.org/changeset/base/191164 Log: Prevent atkbd(4) interrupt handler from calling keyboard callback function when polled mode is enabled. This should help with duplicated/missing characters problem at mount

svn commit: r191165 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 00:39:35 2009 New Revision: 191165 URL: http://svn.freebsd.org/changeset/base/191165 Log: Merge from libarchive.googlecode.com: If we're given an empty filename, just invoke write_open_fd() instead of re-implementing the code to use stdout. Modified: hea

svn commit: r191166 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 00:42:45 2009 New Revision: 191166 URL: http://svn.freebsd.org/changeset/base/191166 Log: Merge from libarchive.googlecode.com: Numerous fixes to the write options handling, including documentation. Modified: head/lib/libarchive/archive_write.3 head/lib/

svn commit: r191167 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 00:44:03 2009 New Revision: 191167 URL: http://svn.freebsd.org/changeset/base/191167 Log: Fix a minor memory leak. Modified: head/lib/libarchive/archive_write_disk.c Modified: head/lib/libarchive/archive_write_disk.c =

svn commit: r191168 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 00:44:47 2009 New Revision: 191168 URL: http://svn.freebsd.org/changeset/base/191168 Log: Use thread-safe getgrnam_r() and getpwnam_r(); dynamically size the buffer used by this. Modified: head/lib/libarchive/archive_write_disk_set_standard_lookup.c Modifi

svn commit: r191169 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 00:45:47 2009 New Revision: 191169 URL: http://svn.freebsd.org/changeset/base/191169 Log: Properly clone and free the recently-added "sourcepath" field. Modified: head/lib/libarchive/archive_entry.c Modified: head/lib/libarchive/archive_entry.c =

svn commit: r191170 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 00:47:16 2009 New Revision: 191170 URL: http://svn.freebsd.org/changeset/base/191170 Log: Accept empty options, add a new read_next_header2() which is more efficient for some uses. Modified: head/lib/libarchive/archive_read.c Modified: head/lib/libarchive/

svn commit: r191171 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 00:50:00 2009 New Revision: 191171 URL: http://svn.freebsd.org/changeset/base/191171 Log: Don't use the open callback, which is deprecated (because it's never necessary). Also, simplify just a tad by delegating to read_open_fd() when we know the file descri

svn commit: r191172 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 00:54:35 2009 New Revision: 191172 URL: http://svn.freebsd.org/changeset/base/191172 Log: Merge new xz/lzma support from libarchive.googlecode.com. Since FreeBSD doesn't have liblzma in the base system, the read side will always fall back to the unxz/unlzma

svn commit: r191173 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 00:55:52 2009 New Revision: 191173 URL: http://svn.freebsd.org/changeset/base/191173 Log: Implement command-line fallbacks for gzip and bzip2 decompression as well. Not an issue for FreeBSD, since the base system has the necessary libraries. Since all decomp

svn commit: r191174 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 00:57:11 2009 New Revision: 191174 URL: http://svn.freebsd.org/changeset/base/191174 Log: Minor fix: some platforms require both inttypes.h and stdint.h. Modified: head/lib/libarchive/archive_platform.h Modified: head/lib/libarchive/archive_platform.h ==

svn commit: r191175 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 00:58:44 2009 New Revision: 191175 URL: http://svn.freebsd.org/changeset/base/191175 Log: LZW bugfix: when we hit end-of-file, return an invalid code. Modified: head/lib/libarchive/archive_read_support_compression_compress.c Modified: head/lib/libarchive/ar

svn commit: r191176 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 00:59:34 2009 New Revision: 191176 URL: http://svn.freebsd.org/changeset/base/191176 Log: When pulling metadata from disk, lookup the user and group name at the same time. Modified: head/lib/libarchive/archive_read_disk_entry_from_file.c Modified: head/lib/

svn commit: r191177 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 01:00:11 2009 New Revision: 191177 URL: http://svn.freebsd.org/changeset/base/191177 Log: Don't match an empty file on a read error. Modified: head/lib/libarchive/archive_read_support_format_empty.c Modified: head/lib/libarchive/archive_read_support_format_e

svn commit: r191178 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 01:01:15 2009 New Revision: 191178 URL: http://svn.freebsd.org/changeset/base/191178 Log: Dynamically size the buffer we pass to getgrgid_r() and getpwuid_r(). Keep the buffer in the cache object so we don't have to keep doing this. Modified: head/lib/libar

svn commit: r191179 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 01:02:12 2009 New Revision: 191179 URL: http://svn.freebsd.org/changeset/base/191179 Log: Document the new read options interface and the new read_header2() call. Modified: head/lib/libarchive/archive_read.3 Modified: head/lib/libarchive/archive_read.3 =

svn commit: r191180 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 01:02:56 2009 New Revision: 191180 URL: http://svn.freebsd.org/changeset/base/191180 Log: Fix a memory leak: Release the current list of /set keywords even when we exit on an error. Modified: head/lib/libarchive/archive_read_support_format_mtree.c Modifie

svn commit: r191182 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 01:04:23 2009 New Revision: 191182 URL: http://svn.freebsd.org/changeset/base/191182 Log: FreeBSD has a lot of crypto functions used by the recent mtree writer updates. Modified: head/lib/libarchive/config_freebsd.h Modified: head/lib/libarchive/config_freeb

svn commit: r191181 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 01:03:52 2009 New Revision: 191181 URL: http://svn.freebsd.org/changeset/base/191181 Log: Ensure that the option setters return OK (option used) even for options that don't change the list of keywords. Modified: head/lib/libarchive/archive_write_set_format_

svn commit: r191183 - head/lib/libarchive/test

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 01:06:31 2009 New Revision: 191183 URL: http://svn.freebsd.org/changeset/base/191183 Log: Merge lots of test suite updates from libarchive.googlecode.com. Added: head/lib/libarchive/test/test_compat_xz.c (contents, props changed) head/lib/libarchive/test/

svn commit: r191184 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 01:07:37 2009 New Revision: 191184 URL: http://svn.freebsd.org/changeset/base/191184 Log: Publicize a handful of new functions and bump the version number to indicate that this is synchronized with the recent libarchive 2.7.0 release. Modified: head/lib/l

Re: svn commit: r191145 - head/sys/rpc

2009-04-16 Thread Andrew Thompson
On Thu, Apr 16, 2009 at 04:26:36PM +, Rick Macklem wrote: > Author: rmacklem > Date: Thu Apr 16 16:26:35 2009 > New Revision: 191145 > URL: http://svn.freebsd.org/changeset/base/191145 > > Log: > Added a field to the SVCXPRT structure that the nfsv4 server can > use to identify if

svn commit: r191187 - in head/usr.bin/tar: . test

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 03:36:07 2009 New Revision: 191187 URL: http://svn.freebsd.org/changeset/base/191187 Log: Merge from libarchive.googlecode.com: Numerous Windows-specific build tweaks. Modified: head/usr.bin/tar/bsdtar_platform.h head/usr.bin/tar/test/main.c head/usr.bin/

svn commit: r191188 - head/usr.bin/tar

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 03:37:09 2009 New Revision: 191188 URL: http://svn.freebsd.org/changeset/base/191188 Log: Minor portability improvement in calls to ctype.h macros. Modified: head/usr.bin/tar/util.c Modified: head/usr.bin/tar/util.c ==

svn commit: r191189 - head/usr.bin/tar

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 03:40:40 2009 New Revision: 191189 URL: http://svn.freebsd.org/changeset/base/191189 Log: Set options before opening the archive. Catch and report close-time errors. Modified: head/usr.bin/tar/read.c Modified: head/usr.bin/tar/read.c ==

svn commit: r191190 - head/usr.bin/tar

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 03:45:15 2009 New Revision: 191190 URL: http://svn.freebsd.org/changeset/base/191190 Log: Merge remaining changes from libarchive.googlecode.com: * Add xz and lzma compression options * Rename --format-options to simply --options * Add --same-owner for

svn commit: r191192 - in head/usr.bin/cpio: . test

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 04:04:57 2009 New Revision: 191192 URL: http://svn.freebsd.org/changeset/base/191192 Log: Merge from libarchive.googlecode.com: * Lots of new tests. * New -n / --numeric-uid-gid option * More sanity-checking of arguments * Various Windows portability