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

2009-09-07 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Sep 7 06:37:44 2009 New Revision: 196911 URL: http://svn.freebsd.org/changeset/base/196911 Log: Make sure to use up-to-date libarchive header files from source tree when compiling tar and not the ones from /usr/include/. Reviewed by: kientzle Approved by:

svn commit: r196912 - in stable/7/sys: kern sys

2009-09-07 Thread Attilio Rao
Author: attilio Date: Mon Sep 7 08:37:25 2009 New Revision: 196912 URL: http://svn.freebsd.org/changeset/base/196912 Log: MFC r196334: Add the macro ASSERT_ATOMIC_LOAD_PTR(), enabled through INVARIANTS, which asserts for the correct alignment of datas which need to be read atomically

svn commit: r196913 - stable/7/lib/libthr/thread

2009-09-07 Thread Attilio Rao
Author: attilio Date: Mon Sep 7 08:41:14 2009 New Revision: 196913 URL: http://svn.freebsd.org/changeset/base/196913 Log: MFC r195403: Fix a bug in read lock acquisition for rwlocks by bumping rdlock_count when a successfull rwlock_rdlock_common() take place. Modified:

svn commit: r196914 - stable/7/usr.sbin/tzsetup

2009-09-07 Thread Attilio Rao
Author: attilio Date: Mon Sep 7 08:46:26 2009 New Revision: 196914 URL: http://svn.freebsd.org/changeset/base/196914 Log: MFC r195339: Add a new option (-s) that, when specified, skips the question about adjusting the clock to UTC. Sponsored by: Sandvine Incorporated Modified:

svn commit: r196915 - in stable/7/sys: dev/hwpmc kern

2009-09-07 Thread Attilio Rao
Author: attilio Date: Mon Sep 7 08:52:15 2009 New Revision: 196915 URL: http://svn.freebsd.org/changeset/base/196915 Log: MFC r195159 and r195005: * Don't assume a fixed number of preloaded KLDs but calculate at runtime. This avoind ending up into an endless loop. * Fix a LOR

svn commit: r196916 - head/contrib/gdtoa

2009-09-07 Thread Attilio Rao
Author: attilio Date: Mon Sep 7 09:30:37 2009 New Revision: 196916 URL: http://svn.freebsd.org/changeset/base/196916 Log: Import a vendor fix for a list overrun. This has been considered as a security hole on some specialized ml, but currently the secteam@ doesn't consider that way.

svn commit: r196917 - in stable/7: bin/ps sys/kern

2009-09-07 Thread Attilio Rao
Author: attilio Date: Mon Sep 7 09:51:23 2009 New Revision: 196917 URL: http://svn.freebsd.org/changeset/base/196917 Log: MFC r189078: * Implement ucomm with a dynamic size function in order to print out the threads name also in the case they are not the last one shown. * On AMD64

svn commit: r196918 - in stable/7: sbin/ifconfig share/man/man4 sys/net sys/netinet sys/netinet6 sys/sys

2009-09-07 Thread Hajimu UMEMOTO
Author: ume Date: Mon Sep 7 10:15:50 2009 New Revision: 196918 URL: http://svn.freebsd.org/changeset/base/196918 Log: MFC r193664, r193796, r193815: Fix and add a workaround on an issue of EtherIP packet with reversed version field sent via gif(4)+if_bridge(4). The EtherIP

svn commit: r196919 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2009-09-07 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Sep 7 11:38:43 2009 New Revision: 196919 URL: http://svn.freebsd.org/changeset/base/196919 Log: bzero() on-stack argument, so mutex_init() won't misinterpret that the lock is already initialized if we have some garbage on the stack. PR: kern/135480

svn commit: r196920 - in head/sys: fs/pseudofs ufs/ffs

2009-09-07 Thread Konstantin Belousov
Author: kib Date: Mon Sep 7 11:55:34 2009 New Revision: 196920 URL: http://svn.freebsd.org/changeset/base/196920 Log: insmntque_stddtr() clears vp-v_data and resets vp-v_op to dead_vnodeops before calling vgone(). Revert r189706 and corresponding part of the r186560. Noted and

svn commit: r196921 - head/sys/fs/pseudofs

2009-09-07 Thread Konstantin Belousov
Author: kib Date: Mon Sep 7 12:10:41 2009 New Revision: 196921 URL: http://svn.freebsd.org/changeset/base/196921 Log: If a race is detected, pfs_vncache_alloc() may reclaim a vnode that had never been inserted into the pfs_vncache list. Since pfs_vncache_free() does not anticipate this

svn commit: r196922 - in stable/7/sys: . contrib/pf net ufs/ffs

2009-09-07 Thread Konstantin Belousov
Author: kib Date: Mon Sep 7 12:39:54 2009 New Revision: 196922 URL: http://svn.freebsd.org/changeset/base/196922 Log: MFC r196206. Take the number of allocated freeblks into consideration for softdep_slowdown(). Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/

svn commit: r196924 - in stable/7/sys: . amd64/amd64 compat/ia32 contrib/pf i386/i386 kern sys

2009-09-07 Thread Bjoern A. Zeeb
Author: bz Date: Mon Sep 7 13:37:04 2009 New Revision: 196924 URL: http://svn.freebsd.org/changeset/base/196924 Log: MFC r196653: Make sure FreeBSD binaries without .note.ABI-tag section work correctly and do not match a colliding Debian GNU/kFreeBSD brandinfo statements. For

svn commit: r196925 - in stable/6/sys: . conf contrib/pf dev/cxgb ufs/ffs

2009-09-07 Thread Konstantin Belousov
Author: kib Date: Mon Sep 7 13:58:26 2009 New Revision: 196925 URL: http://svn.freebsd.org/changeset/base/196925 Log: MFC r196206. Take the number of allocated freeblks into consideration for softdep_slowdown(). Tested by:pluknet gmail com Modified: stable/6/sys/ (props

svn commit: r196926 - in stable/8: . etc libexec

2009-09-07 Thread Remko Lodder
Author: remko Date: Mon Sep 7 14:10:55 2009 New Revision: 196926 URL: http://svn.freebsd.org/changeset/base/196926 Log: MFC r196787 Do the first step in removing lukemftpd from the base system. Disconnect it from the build. If you are using the FTP daemon, please consider

svn commit: r196927 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2009-09-07 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Sep 7 14:16:50 2009 New Revision: 196927 URL: http://svn.freebsd.org/changeset/base/196927 Log: Changing provider size is not really supported by GEOM, but doing so when provider is closed should be ok. When administrator requests to change ZVOL size do it

svn commit: r196928 - head/cddl/contrib/opensolaris/cmd/zdb

2009-09-07 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Sep 7 14:44:04 2009 New Revision: 196928 URL: http://svn.freebsd.org/changeset/base/196928 Log: Teach zdb(8) how to obtain GEOM provider size. PR: kern/133134 Reported by: Philipp Wuensche cryx-free...@h3q.com MFC after:3 days Modified:

svn commit: r196929 - head/sbin/ifconfig

2009-09-07 Thread Hajimu UMEMOTO
Author: ume Date: Mon Sep 7 15:22:54 2009 New Revision: 196929 URL: http://svn.freebsd.org/changeset/base/196929 Log: Suppress an options line when no bit is on. Reviewed by: hrs MFC after:3 days Modified: head/sbin/ifconfig/ifgif.c Modified: head/sbin/ifconfig/ifgif.c

svn commit: r196931 - head/sbin/ifconfig

2009-09-07 Thread Hiroki Sato
Author: hrs Date: Mon Sep 7 15:52:15 2009 New Revision: 196931 URL: http://svn.freebsd.org/changeset/base/196931 Log: Use printb() instead of rolling its own routine to display bits in options=. Pointed out by: ume MFC after:3 days Modified: head/sbin/ifconfig/ifgif.c

svn commit: r196932 - head/sys/netinet

2009-09-07 Thread Shteryana Shopova
Author: syrinx Date: Mon Sep 7 16:00:33 2009 New Revision: 196932 URL: http://svn.freebsd.org/changeset/base/196932 Log: When joining a multicast group, the inp_lookup_mcast_ifp call does a KASSERT that the group address is multicast, so the check if this is indeed true and eventually

svn commit: r196933 - head/sys/dev/ath

2009-09-07 Thread Sam Leffler
Author: sam Date: Mon Sep 7 16:08:21 2009 New Revision: 196933 URL: http://svn.freebsd.org/changeset/base/196933 Log: correct typo that was a noop on 32-bit machines but a bug on 64-bit machines Submitted by: phk Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c

svn commit: r196934 - head/sys/dev/ath/ath_hal

2009-09-07 Thread Sam Leffler
Author: sam Date: Mon Sep 7 16:12:07 2009 New Revision: 196934 URL: http://svn.freebsd.org/changeset/base/196934 Log: fix extraneous return that can cause a memory leak Submitted by: phk MFC after:1 week Modified: head/sys/dev/ath/ath_hal/ah_eeprom_v3.c Modified:

svn commit: r196935 - head/sys/dev/ath

2009-09-07 Thread Sam Leffler
Author: sam Date: Mon Sep 7 16:18:16 2009 New Revision: 196935 URL: http://svn.freebsd.org/changeset/base/196935 Log: remove extranous return Submitted by: phk MFC after:1 week Modified: head/sys/dev/ath/ah_osdep.c Modified: head/sys/dev/ath/ah_osdep.c

svn commit: r196936 - head/bin/setfacl

2009-09-07 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Sep 7 16:19:32 2009 New Revision: 196936 URL: http://svn.freebsd.org/changeset/base/196936 Log: Add NFSv4 support to setfacl(1). Reviewed by: rwatson Modified: head/bin/setfacl/mask.c head/bin/setfacl/merge.c head/bin/setfacl/remove.c

svn commit: r196937 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci geom/multipath

2009-09-07 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Sep 7 16:25:09 2009 New Revision: 196937 URL: http://svn.freebsd.org/changeset/base/196937 Log: MFC r196579: Fix an obvious topology lock leak. Approved by: re (kib) Modified: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props

svn commit: r196938 - head/tools/regression/acltools

2009-09-07 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Sep 7 16:26:03 2009 New Revision: 196938 URL: http://svn.freebsd.org/changeset/base/196938 Log: Add regression tests for NFSv4 ACLs and update POSIX.1e tests to the changed error messages. Added: head/tools/regression/acltools/01.t (contents, props changed)

svn commit: r196939 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci net80211

2009-09-07 Thread Sam Leffler
Author: sam Date: Mon Sep 7 16:33:27 2009 New Revision: 196939 URL: http://svn.freebsd.org/changeset/base/196939 Log: MFC r196785: correct timeout for doing NOL processing; need a ticks-relative value Approved by: re (kensmith) Modified: stable/8/sys/ (props changed)

svn commit: r196940 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/ath dev/xen/xenpci

2009-09-07 Thread Sam Leffler
Author: sam Date: Mon Sep 7 16:41:18 2009 New Revision: 196940 URL: http://svn.freebsd.org/changeset/base/196940 Log: MFC r196717: fix beacon timers on resume in sta mode so raoming works Approved by: re (kensmith) Modified: stable/8/sys/ (props changed)

svn commit: r196941 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2009-09-07 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Sep 7 16:56:41 2009 New Revision: 196941 URL: http://svn.freebsd.org/changeset/base/196941 Log: Prevent the line from wrapping. Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c

svn commit: r196942 - head/release/scripts

2009-09-07 Thread Ken Smith
Author: kensmith Date: Mon Sep 7 17:54:20 2009 New Revision: 196942 URL: http://svn.freebsd.org/changeset/base/196942 Log: Bring the layout of package-split.py more in line with where we're going with packages on the release media. It looks like we'll be putting just the doc packages on

svn commit: r196943 - head/sys/cddl/compat/opensolaris/kern

2009-09-07 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Sep 7 18:23:26 2009 New Revision: 196943 URL: http://svn.freebsd.org/changeset/base/196943 Log: - Avoid holding mutex around M_WAITOK allocations. - Add locking for mnt_opt field. MFC after:1 week Modified:

svn commit: r196944 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2009-09-07 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Sep 7 18:54:55 2009 New Revision: 196944 URL: http://svn.freebsd.org/changeset/base/196944 Log: Don't recheck ownership on update mount. This will eliminate LOR between vfs_busy() and mount mutex. We check ownership in vfs_domount() anyway. Noticed by: kib

svn commit: r196947 - head/sys/cddl/compat/opensolaris/sys

2009-09-07 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Sep 7 19:22:44 2009 New Revision: 196947 URL: http://svn.freebsd.org/changeset/base/196947 Log: Defer thread start until we set priority. Reviewed by: kib MFC after:3 days Modified: head/sys/cddl/compat/opensolaris/sys/proc.h Modified:

svn commit: r196949 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2009-09-07 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Sep 7 19:43:13 2009 New Revision: 196949 URL: http://svn.freebsd.org/changeset/base/196949 Log: Enable NFSv4 ACL support in ZFS. Reviewed by: pjd Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c Modified:

svn commit: r196948 - in head/tools/regression/fstest: . tests/chmod tests/granular

2009-09-07 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Sep 7 19:40:22 2009 New Revision: 196948 URL: http://svn.freebsd.org/changeset/base/196948 Log: Add regression tests for NFSv4 ACL granular permission enforcement. Added: head/tools/regression/fstest/tests/chmod/12.t (contents, props changed)

svn commit: r196950 - head/cddl/contrib/opensolaris/lib/libzfs/common

2009-09-07 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Sep 7 20:10:33 2009 New Revision: 196950 URL: http://svn.freebsd.org/changeset/base/196950 Log: Fix detection of file system being shared. After this change commands like: # zfs unshare -a # zfs destroy foo/bar # zfs rename foo/bar foo/baz

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

2009-09-07 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Sep 7 20:57:01 2009 New Revision: 196952 URL: http://svn.freebsd.org/changeset/base/196952 Log: Some of the controllers sold as ServeRAID (IBM ServeRAID-MR10i, in particular) are actually mfi(4) devices. Provide hints. Submitted by: pluknet at gmail.com

svn commit: r196953 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2009-09-07 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Sep 7 21:46:51 2009 New Revision: 196953 URL: http://svn.freebsd.org/changeset/base/196953 Log: When snapshot mount point is busy (for example we are still in it) we will fail to unmount it, but it won't be removed from the tree, so in that case there is no need to

svn commit: r196954 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2009-09-07 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Sep 7 21:58:54 2009 New Revision: 196954 URL: http://svn.freebsd.org/changeset/base/196954 Log: If we have to use avl_find(), optimize a bit and use avl_insert() instead of avl_add() (the latter is actually a wrapper around avl_find() + avl_insert()). Fix similar

Re: svn commit: r196954 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2009-09-07 Thread Dmitry Morozovsky
Pawel, On Mon, 7 Sep 2009, Pawel Jakub Dawidek wrote: PJD Author: pjd PJD Date: Mon Sep 7 21:58:54 2009 PJD New Revision: 196954 PJD URL: http://svn.freebsd.org/changeset/base/196954 PJD PJD Log: PJD If we have to use avl_find(), optimize a bit and use avl_insert() instead of PJD

svn commit: r196955 - head/share/examples/scsi_target

2009-09-07 Thread Sean Bruno
Author: sbruno Date: Mon Sep 7 23:16:27 2009 New Revision: 196955 URL: http://svn.freebsd.org/changeset/base/196955 Log: A few enhancements I made while working on the Firewire target (sbp_targ). Update the error handling in a couple of cases to exit gracefully if certain mandatory

svn commit: r196956 - head/usr.bin/w

2009-09-07 Thread Xin LI
Author: delphij Date: Tue Sep 8 01:11:23 2009 New Revision: 196956 URL: http://svn.freebsd.org/changeset/base/196956 Log: Constify format string pointer, otherwise this would trigger warning when higher warning level is enabled. Modified: head/usr.bin/w/pr_time.c Modified:

svn commit: r196961 - in head/lib/libarchive: . test

2009-09-07 Thread Tim Kientzle
Author: kientzle Date: Tue Sep 8 04:52:12 2009 New Revision: 196961 URL: http://svn.freebsd.org/changeset/base/196961 Log: Update tests to match r195873, which corrected how hardlinked files on iso9660 images were returned. While I'm poking around, update some comments around this area to

svn commit: r196962 - in head/lib/libarchive: . test

2009-09-07 Thread Tim Kientzle
Author: kientzle Date: Tue Sep 8 05:02:41 2009 New Revision: 196962 URL: http://svn.freebsd.org/changeset/base/196962 Log: Fiz /usr/bin/unzip: A bug deep in libarchive's read-ahead logic (incorrect handling of zero-length reads before the copy buffer is allocated) is masked by the iso9660

Re: svn commit: r196954 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2009-09-07 Thread Pawel Jakub Dawidek
On Tue, Sep 08, 2009 at 02:59:15AM +0400, Dmitry Morozovsky wrote: Pawel, On Mon, 7 Sep 2009, Pawel Jakub Dawidek wrote: PJD Author: pjd PJD Date: Mon Sep 7 21:58:54 2009 PJD New Revision: 196954 PJD URL: http://svn.freebsd.org/changeset/base/196954 PJD PJD Log: PJD If we have

svn commit: r196964 - head/sys/geom

2009-09-07 Thread Alexander Motin
Author: mav Date: Tue Sep 8 05:46:38 2009 New Revision: 196964 URL: http://svn.freebsd.org/changeset/base/196964 Log: Do not check proper request alignment here in geom_dev in production. It will be checked any way later by g_io_check() in g_io_schedule_down(). It is only needed here to