svn commit: r207308 - head/sys/vm

2010-04-28 Thread Alan Cox
Author: alc Date: Wed Apr 28 06:34:47 2010 New Revision: 207308 URL: http://svn.freebsd.org/changeset/base/207308 Log: Setting PG_REFERENCED on a page at the end of vm_fault() is redundant since the page table entry's accessed bit is either preset by the immediately preceding call to

svn commit: r207309 - head/sys/ufs/ffs

2010-04-28 Thread Jeff Roberson
Author: jeff Date: Wed Apr 28 07:26:41 2010 New Revision: 207309 URL: http://svn.freebsd.org/changeset/base/207309 Log: - Fix builds without SOFTUPDATES defined in the kernel config. Modified: head/sys/ufs/ffs/ffs_softdep.c Modified: head/sys/ufs/ffs/ffs_softdep.c

svn commit: r207310 - head/sys/ufs/ffs

2010-04-28 Thread Jeff Roberson
Author: jeff Date: Wed Apr 28 07:57:37 2010 New Revision: 207310 URL: http://svn.freebsd.org/changeset/base/207310 Log: - When canceling jaddrefs they may not yet be in the journal if this is via a revert call. In this case don't attempt to remove something that has not yet been

svn commit: r207311 - in vendor-crypto/openssh/dist: . contrib contrib/caldera contrib/cygwin contrib/redhat contrib/suse openbsd-compat

2010-04-28 Thread Dag-Erling Smorgrav
Author: des Date: Wed Apr 28 08:37:00 2010 New Revision: 207311 URL: http://svn.freebsd.org/changeset/base/207311 Log: Vendor import of OpenSSH 5.5p1 Modified: vendor-crypto/openssh/dist/ChangeLog vendor-crypto/openssh/dist/Makefile.in vendor-crypto/openssh/dist/README

svn commit: r207312 - in vendor-crypto/openssh/5.5p1: . contrib contrib/caldera contrib/cygwin contrib/redhat contrib/suse openbsd-compat

2010-04-28 Thread Dag-Erling Smorgrav
Author: des Date: Wed Apr 28 08:39:12 2010 New Revision: 207312 URL: http://svn.freebsd.org/changeset/base/207312 Log: Tag OpenSSH 5.5p1 Added: vendor-crypto/openssh/5.5p1/ - copied from r207310, vendor-crypto/openssh/dist/ Replaced: vendor-crypto/openssh/5.5p1/ChangeLog - copied

svn commit: r207316 - stable/8/sys/compat/freebsd32

2010-04-28 Thread Konstantin Belousov
Author: kib Date: Wed Apr 28 09:59:28 2010 New Revision: 207316 URL: http://svn.freebsd.org/changeset/base/207316 Log: MFC r207007: Extract the code to copy-out struct rusage32 from struct rusage into the new function. Modified: stable/8/sys/compat/freebsd32/freebsd32_misc.c

svn commit: r207317 - in stable/8/sys: compat/freebsd32 kern

2010-04-28 Thread Konstantin Belousov
Author: kib Date: Wed Apr 28 10:03:54 2010 New Revision: 207317 URL: http://svn.freebsd.org/changeset/base/207317 Log: MFC r207008: Provide compat32 shims for kinfo_proc sysctl. MFC r207016: Fix typo. Modified: stable/8/sys/compat/freebsd32/freebsd32.h

svn commit: r207318 - head/sys/dev/drm

2010-04-28 Thread Robert Noland
Author: rnoland Date: Wed Apr 28 10:33:41 2010 New Revision: 207318 URL: http://svn.freebsd.org/changeset/base/207318 Log: fx-lock is used as an index, correct test case. MFC after:1 week Modified: head/sys/dev/drm/via_video.c Modified: head/sys/dev/drm/via_video.c

svn commit: r207319 - in head/crypto/openssh: . openbsd-compat

2010-04-28 Thread Dag-Erling Smorgrav
it in CFLAGS correctly skips IPv6 tests. + +20100428 - (djm) OpenBSD CVS Sync - d...@cvs.openbsd.org 2010/03/07 22:16:01 [ssh-keygen.c] Modified: head/crypto/openssh/README == --- head/crypto/openssh/README Wed

svn commit: r207320 - head/sbin/ifconfig

2010-04-28 Thread Rui Paulo
Author: rpaulo Date: Wed Apr 28 10:57:27 2010 New Revision: 207320 URL: http://svn.freebsd.org/changeset/base/207320 Log: Fix typos. Obtained from:DragonFlyBSD Modified: head/sbin/ifconfig/ifconfig.8 head/sbin/ifconfig/ifieee80211.c Modified: head/sbin/ifconfig/ifconfig.8

svn commit: r207321 - head/sbin/ifconfig

2010-04-28 Thread Rui Paulo
Author: rpaulo Date: Wed Apr 28 10:58:03 2010 New Revision: 207321 URL: http://svn.freebsd.org/changeset/base/207321 Log: Bump man page date. Modified: head/sbin/ifconfig/ifconfig.8 Modified: head/sbin/ifconfig/ifconfig.8

svn commit: r207322 - head/sys/net80211

2010-04-28 Thread Rui Paulo
Author: rpaulo Date: Wed Apr 28 10:58:50 2010 New Revision: 207322 URL: http://svn.freebsd.org/changeset/base/207322 Log: Fix typo. No functional change. Obtained from:DragonFlyBSD Modified: head/sys/net80211/ieee80211_node.c Modified: head/sys/net80211/ieee80211_node.c

svn commit: r207323 - head/sys/net80211

2010-04-28 Thread Rui Paulo
Author: rpaulo Date: Wed Apr 28 13:25:53 2010 New Revision: 207323 URL: http://svn.freebsd.org/changeset/base/207323 Log: When in the RUN - AUTH - RUN FSM transition happens, we'll call the ratectl_node_init() functions and since ni_rtctls was already malloc'ed() we will panic. Fix this by

svn commit: r207324 - stable/7/tools/tools/aac

2010-04-28 Thread Ed Maste
Author: emaste Date: Wed Apr 28 13:26:30 2010 New Revision: 207324 URL: http://svn.freebsd.org/changeset/base/207324 Log: MFC r175406: Eliminate warnings by adding headers. Modified: stable/7/tools/tools/aac/aac_checkq.c Directory Properties: stable/7/tools/tools/aac/ (props

svn commit: r207325 - head/share/man/man9

2010-04-28 Thread Rui Paulo
Author: rpaulo Date: Wed Apr 28 13:29:48 2010 New Revision: 207325 URL: http://svn.freebsd.org/changeset/base/207325 Log: Couple of fixes from DragonFly (typos). Obtained from:DragonFlyBSD Modified: head/share/man/man9/ieee80211.9 head/share/man/man9/ieee80211_node.9

svn commit: r207326 - head/sys/net80211

2010-04-28 Thread Rui Paulo
Author: rpaulo Date: Wed Apr 28 13:42:13 2010 New Revision: 207326 URL: http://svn.freebsd.org/changeset/base/207326 Log: Add ic_rxstream and ic_txstream. These variables hold the number of RX streams and the number of TX streams respectively. Obtained from:

svn commit: r207327 - head/sys/net80211

2010-04-28 Thread Rui Paulo
Author: rpaulo Date: Wed Apr 28 14:59:05 2010 New Revision: 207327 URL: http://svn.freebsd.org/changeset/base/207327 Log: Add a private field to struct ieee80211_rx_ampdu do hold driver specific data. Sponsored by: iXsystems, inc Modified: head/sys/net80211/ieee80211_ht.h Modified:

svn commit: r207328 - stable/8/sys/net80211

2010-04-28 Thread Rui Paulo
Author: rpaulo Date: Wed Apr 28 15:15:06 2010 New Revision: 207328 URL: http://svn.freebsd.org/changeset/base/207328 Log: MFC r206617: Make this code a little more portable by wrapping the mtx calls into macros. Modified: stable/8/sys/net80211/ieee80211_freebsd.h

Re: svn commit: r207206 - head/bin/sh

2010-04-28 Thread Ed Maste
On Tue, Apr 27, 2010 at 07:52:25AM +0400, Andrey Chernov wrote: Just wonder, do you have plans to implement ${!variable} sometimes? This bashism is very useful: ... While we're on this topic, I'll mention the bashism I'd like to see support for -- array variables. Older versions supported

svn commit: r207329 - in head/sys: amd64/amd64 amd64/include dev/io i386/i386 i386/include ia64/ia64 ia64/include

2010-04-28 Thread Attilio Rao
Author: attilio Date: Wed Apr 28 15:38:01 2010 New Revision: 207329 URL: http://svn.freebsd.org/changeset/base/207329 Log: - Extract the IODEV_PIO interface from ia64 and make it MI. In the end, it does help fixing /dev/io usage from multithreaded processes. - On i386 and amd64 the

Re: svn commit: r207206 - head/bin/sh

2010-04-28 Thread Andriy Gapon
on 28/04/2010 18:36 Ed Maste said the following: On Tue, Apr 27, 2010 at 07:52:25AM +0400, Andrey Chernov wrote: Just wonder, do you have plans to implement ${!variable} sometimes? This bashism is very useful: ... While we're on this topic, I'll mention the bashism I'd like to see

svn commit: r207330 - head/sys/dev/sound/pcm

2010-04-28 Thread Jung-uk Kim
Author: jkim Date: Wed Apr 28 17:26:05 2010 New Revision: 207330 URL: http://svn.freebsd.org/changeset/base/207330 Log: Remove dead code. Calculated greatest common divisor was not used at all. On top of that, LLVM+Clang mis-compiles this code because of its register allocator bug.

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

2010-04-28 Thread Jack F Vogel
Author: jfv Date: Wed Apr 28 17:37:30 2010 New Revision: 207331 URL: http://svn.freebsd.org/changeset/base/207331 Log: Change default WOL back to MAGIC only, having multicast enabled causes problems in man environments. Modified: head/sys/dev/e1000/if_em.c Modified:

Re: svn commit: r207206 - head/bin/sh

2010-04-28 Thread Doug Barton
On 04/28/10 08:36, Ed Maste wrote: While we're on this topic, I'll mention the bashism I'd like to see support for ... and I'd like to cast a vote for NOT bloating our sh with features from more advanced shells. Either we should actually import one of the more advanced shells (and no, I don't

Re: svn commit: r207206 - head/bin/sh

2010-04-28 Thread Garrett Cooper
On Wed, Apr 28, 2010 at 10:40 AM, Doug Barton do...@freebsd.org wrote: On 04/28/10 08:36, Ed Maste wrote: While we're on this topic, I'll mention the bashism I'd like to see support for ... and I'd like to cast a vote for NOT bloating our sh with features from more advanced shells. Either we

svn commit: r207332 - stable/8/sys/dev/e1000

2010-04-28 Thread Jack F Vogel
Author: jfv Date: Wed Apr 28 18:28:08 2010 New Revision: 207332 URL: http://svn.freebsd.org/changeset/base/207332 Log: Only enable MAGIC WOL by default, MCAST causes systems to just wakeup immediately in many environments. Modified: stable/8/sys/dev/e1000/if_em.c Modified:

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

2010-04-28 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Apr 28 18:29:48 2010 New Revision: 207334 URL: http://svn.freebsd.org/changeset/base/207334 Log: Backport fix for 'zfs_znode_dmu_init: existing znode for dbuf' panic from OpenSolaris. PR: kern/144402 Reported by: Alex Bakhtin alex.bakh...@gmail.com

svn commit: r207335 - head/sys/dev/ciss

2010-04-28 Thread John Baldwin
Author: jhb Date: Wed Apr 28 18:49:45 2010 New Revision: 207335 URL: http://svn.freebsd.org/changeset/base/207335 Log: Initialize the callout structure earlier in attach before calling any routines that can fail since ciss_free() always tries to stop and drain the callout. Modified:

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

2010-04-28 Thread Jack F Vogel
Author: jfv Date: Wed Apr 28 19:22:52 2010 New Revision: 207337 URL: http://svn.freebsd.org/changeset/base/207337 Log: Address the LOD that some are seeing, put the RX lock back in rxeof (I could see little point in taking it out), and now release it before the stack entry. Also, make

svn commit: r207340 - in vendor-sys/acpica/dist: . common compiler debugger events executer include os_specific/service_layers tables tests tests/misc tools/acpiexec tools/acpisrc utilities

2010-04-28 Thread Jung-uk Kim
Author: jkim Date: Wed Apr 28 21:50:57 2010 New Revision: 207340 URL: http://svn.freebsd.org/changeset/base/207340 Log: Import ACPICA 20100428. Added: vendor-sys/acpica/dist/compiler/aslrestype1i.c (contents, props changed) vendor-sys/acpica/dist/compiler/aslrestype2d.c (contents

svn commit: r207341 - vendor-sys/acpica/20100428

2010-04-28 Thread Jung-uk Kim
Author: jkim Date: Wed Apr 28 21:51:53 2010 New Revision: 207341 URL: http://svn.freebsd.org/changeset/base/207341 Log: Tag ACPICA 20100428. Added: vendor-sys/acpica/20100428/ - copied from r207340, vendor-sys/acpica/dist/ ___ svn-src-all

svn commit: r207343 - head/sbin/hastd

2010-04-28 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Apr 28 22:23:29 2010 New Revision: 207343 URL: http://svn.freebsd.org/changeset/base/207343 Log: Don't assume that resource property is in metadata. Reported by: Mikolaj Golub to.my.troc...@gmail.com MFC after:3 days Modified: head/sbin/hastd/metadata.c

svn commit: r207344 - in head: sys/conf sys/contrib/dev/acpica sys/contrib/dev/acpica/common sys/contrib/dev/acpica/compiler sys/contrib/dev/acpica/debugger sys/contrib/dev/acpica/events sys/contri...

2010-04-28 Thread Jung-uk Kim
Author: jkim Date: Wed Apr 28 22:25:27 2010 New Revision: 207344 URL: http://svn.freebsd.org/changeset/base/207344 Log: Merge ACPICA 20100428. Added: head/sys/contrib/dev/acpica/compiler/aslrestype1i.c - copied, changed from r207340, vendor-sys/acpica/dist/compiler/aslrestype1i.c

svn commit: r207345 - head/sbin/hastd

2010-04-28 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Apr 28 22:26:30 2010 New Revision: 207345 URL: http://svn.freebsd.org/changeset/base/207345 Log: Use WEXITSTATUS() to obtain real exit code. MFC after:3 days Modified: head/sbin/hastd/hastd.c Modified: head/sbin/hastd/hastd.c

svn commit: r207346 - head/etc/rc.d

2010-04-28 Thread Doug Barton
Author: dougb Date: Wed Apr 28 22:29:17 2010 New Revision: 207346 URL: http://svn.freebsd.org/changeset/base/207346 Log: In the case where named_chroot_autoupdate is NOT set, but named_chrootdir IS set, named-checkconf fails because it cannot find the conf file. Fix this by making checkconf

svn commit: r207347 - head/sbin/hastd

2010-04-28 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Apr 28 22:39:47 2010 New Revision: 207347 URL: http://svn.freebsd.org/changeset/base/207347 Log: Mark temporary issues as such. MFC after:3 days Modified: head/sbin/hastd/primary.c Modified: head/sbin/hastd/primary.c

svn commit: r207348 - head/sbin/hastd

2010-04-28 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Apr 28 22:41:06 2010 New Revision: 207348 URL: http://svn.freebsd.org/changeset/base/207348 Log: Restart worker thread only if the problem was temporary. In case of persistent problem we don't want to loop forever. MFC after:3 days Modified:

svn commit: r207349 - head/sys/fs/nfsclient

2010-04-28 Thread Rick Macklem
Author: rmacklem Date: Wed Apr 28 23:05:42 2010 New Revision: 207349 URL: http://svn.freebsd.org/changeset/base/207349 Log: Delete a diagnostic statement that is no longer useful from the experimental NFS client. MFC after:1 week Modified: head/sys/fs/nfsclient/nfs_clrpcops.c

svn commit: r207350 - head/sys/fs/nfsclient

2010-04-28 Thread Rick Macklem
Author: rmacklem Date: Wed Apr 28 23:16:21 2010 New Revision: 207350 URL: http://svn.freebsd.org/changeset/base/207350 Log: For the experimental NFS client, it should always flush dirty buffers before closing the NFSv4 opens, as the comment states. This patch deletes the call to

svn commit: r207351 - stable/8/usr.sbin/mailwrapper

2010-04-28 Thread Xin LI
Author: delphij Date: Thu Apr 29 00:28:34 2010 New Revision: 207351 URL: http://svn.freebsd.org/changeset/base/207351 Log: MFC r205938: Sync with OpenBSD: - avoid coredump when there's only one token on a line; - Use calloc(); - Remove a line inherited from example mdoc.

svn commit: r207352 - stable/7/usr.sbin/mailwrapper

2010-04-28 Thread Xin LI
Author: delphij Date: Thu Apr 29 00:38:15 2010 New Revision: 207352 URL: http://svn.freebsd.org/changeset/base/207352 Log: MFC r205938: Sync with OpenBSD: - avoid coredump when there's only one token on a line; - Use calloc(); - Remove a line inherited from example mdoc.

Re: svn commit: r207330 - head/sys/dev/sound/pcm

2010-04-28 Thread Andriy Gapon
on 28/04/2010 20:26 Jung-uk Kim said the following: Author: jkim Date: Wed Apr 28 17:26:05 2010 New Revision: 207330 URL: http://svn.freebsd.org/changeset/base/207330 Log: Remove dead code. Calculated greatest common divisor was not used at all. On top of that, LLVM+Clang