Re: svn commit: r192595 - in head: crypto/openssh crypto/openssh/openbsd-compat secure/lib/libssh secure/usr.sbin/sshd

2009-05-24 Thread Brian Somers
On Fri, 22 May 2009 18:46:28 + (UTC) Dag-Erling Smorgrav wrote: > Author: des > Date: Fri May 22 18:46:28 2009 > New Revision: 192595 > URL: http://svn.freebsd.org/changeset/base/192595 > > Log: > Upgrade to OpenSSH 5.2p1. > > MFC after: 3 months [.] Should this be MFCd a little

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

2009-05-24 Thread Edward Tomasz Napierala
Author: trasz Date: Sun May 24 09:42:53 2009 New Revision: 192677 URL: http://svn.freebsd.org/changeset/base/192677 Log: Add new constants to the acl(9) manual page. Modified: head/share/man/man9/acl.9 Modified: head/share/man/man9/acl.9 ==

Re: svn commit: r192595 - in head: crypto/openssh crypto/openssh/openbsd-compat secure/lib/libssh secure/usr.sbin/sshd

2009-05-24 Thread Dag-Erling Smørgrav
Brian Somers writes: > Should this be MFCd a little sooner? > > http://news.zdnet.com/2100-9595_22-303182.html Where to begin... 1) ZDNet is about six months behind - this was discovered in November of last year. 2) They also got the numbers wrong; it's 14 bits at 2^-14 chance of succ

svn commit: r192678 - in head/sys: kgssapi nfsserver

2009-05-24 Thread Doug Rabson
Author: dfr Date: Sun May 24 11:10:27 2009 New Revision: 192678 URL: http://svn.freebsd.org/changeset/base/192678 Log: Fix build of KGSSAPI bits post-vimage. Modified: head/sys/kgssapi/gsstest.c head/sys/nfsserver/nfs_srvkrpc.c Modified: head/sys/kgssapi/gsstest.c =

svn commit: r192679 - head/lib/libstand

2009-05-24 Thread Doug Rabson
Author: dfr Date: Sun May 24 11:37:10 2009 New Revision: 192679 URL: http://svn.freebsd.org/changeset/base/192679 Log: Increase the number of available file descriptors to 64. This fixes the reported zfsboot problems for systems where more than seven drives are part of ZFS pools. Modified:

Re: svn commit: r192194 - in head/sys: boot/i386/zfsboot boot/zfs cddl/boot/zfs

2009-05-24 Thread Doug Rabson
On 23 May 2009, at 00:27, Xin LI wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Doug, Doug Rabson wrote: Author: dfr Date: Sat May 16 10:48:20 2009 New Revision: 192194 URL: http://svn.freebsd.org/changeset/base/192194 Log: Add support for booting from raidz1 and raidz2 pools. M

svn commit: r192681 - head/sys/kern

2009-05-24 Thread Konstantin Belousov
Author: kib Date: Sun May 24 12:28:38 2009 New Revision: 192681 URL: http://svn.freebsd.org/changeset/base/192681 Log: Replace the while statement with the if for clarity. The loop body cannot be executed more then once. Reviewed by: dfr Tested by:pho MFC after:1 month Modif

svn commit: r192682 - head/sys/kern

2009-05-24 Thread Ed Schouten
Author: ed Date: Sun May 24 12:32:03 2009 New Revision: 192682 URL: http://svn.freebsd.org/changeset/base/192682 Log: Block when initially opening a TTY multiple times. In the original MPSAFE TTY code, I changed the behaviour by returning EBUSY. I thought this made more sense, because it'

svn commit: r192683 - head/sys/kern

2009-05-24 Thread Konstantin Belousov
Author: kib Date: Sun May 24 12:33:16 2009 New Revision: 192683 URL: http://svn.freebsd.org/changeset/base/192683 Log: In lf_advlockasync(), recheck for doomed vnode after the state->ls_lock is acquired. In the lf_purgelocks(), assert that vnode is doomed and set *statep to NULL before clear

svn commit: r192684 - head/sys/kern

2009-05-24 Thread Konstantin Belousov
Author: kib Date: Sun May 24 12:37:55 2009 New Revision: 192684 URL: http://svn.freebsd.org/changeset/base/192684 Log: In lf_purgelocks(), assert that state->ls_pending is empty after we weeded out threads, and clean ls_active instead of ls_pending. Reviewed by: dfr Tested by:pho

svn commit: r192685 - in head/sys: kern sys

2009-05-24 Thread Konstantin Belousov
Author: kib Date: Sun May 24 12:39:38 2009 New Revision: 192685 URL: http://svn.freebsd.org/changeset/base/192685 Log: The advisory lock may be activated or activated and removed during the sleep waiting for conditions when the lock may be granted. To prevent lf_setlock() from accessing poss

svn commit: r192686 - head/sys/nfsclient

2009-05-24 Thread Doug Rabson
Author: dfr Date: Sun May 24 13:22:00 2009 New Revision: 192686 URL: http://svn.freebsd.org/changeset/base/192686 Log: Make sure we feed 32bit align memory to nfsm_dissect otherwise we will fault on platforms with strict alignment requirements. In particular, this fixes the problems with the

Re: svn commit: r192686 - head/sys/nfsclient

2009-05-24 Thread Doug Rabson
Also, this problem appears to be there in the new experimental NFS client code as well. I haven't tried to fix that. On 24 May 2009, at 14:22, Doug Rabson wrote: Author: dfr Date: Sun May 24 13:22:00 2009 New Revision: 192686 URL: http://svn.freebsd.org/changeset/base/192686 Log: Make sure

svn commit: r192687 - head/bin/chflags

2009-05-24 Thread Jilles Tjoelker
Author: jilles Date: Sun May 24 15:27:25 2009 New Revision: 192687 URL: http://svn.freebsd.org/changeset/base/192687 Log: Fix chflags -h in various cases: do not use link target's flags as original. Patch slightly changed to align more with chmod.c. PR: bin/131999 Submitted

svn commit: r192688 - head/bin/ps

2009-05-24 Thread Jilles Tjoelker
Author: jilles Date: Sun May 24 15:32:34 2009 New Revision: 192688 URL: http://svn.freebsd.org/changeset/base/192688 Log: Fix elapsed (etime) field for swapped out processes in ps: show '-' instead of time since the Epoch. PR: bin/123069 Submitted by: Vladimir Kozbin Approve

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

2009-05-24 Thread Edward Tomasz Napierala
Author: trasz Date: Sun May 24 15:48:48 2009 New Revision: 192689 URL: http://svn.freebsd.org/changeset/base/192689 Log: Fix comment. Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c ==

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

2009-05-24 Thread Edward Tomasz Napierala
Author: trasz Date: Sun May 24 17:08:00 2009 New Revision: 192690 URL: http://svn.freebsd.org/changeset/base/192690 Log: Fix typo in the manual page. Modified: head/share/man/man9/acl.9 Modified: head/share/man/man9/acl.9 ==

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

2009-05-24 Thread Tom McLaughlin
Author: tmclaugh (ports committer) Date: Sun May 24 18:34:54 2009 New Revision: 192691 URL: http://svn.freebsd.org/changeset/base/192691 Log: Update man pages after VFS_* changes in r191990. Approved by: brueffer, attilio Modified: head/share/man/man9/VFS_MOUNT.9 head/share/man/man9/V

svn commit: r192692 - head/sys/compat/ndis

2009-05-24 Thread Antoine Brodin
Author: antoine Date: Sun May 24 18:35:53 2009 New Revision: 192692 URL: http://svn.freebsd.org/changeset/base/192692 Log: Remove an unused variable. Modified: head/sys/compat/ndis/kern_ndis.c Modified: head/sys/compat/ndis/kern_ndis.c

svn commit: r192693 - head/sys/fs/nfsserver

2009-05-24 Thread Rick Macklem
Author: rmacklem Date: Sun May 24 18:49:53 2009 New Revision: 192693 URL: http://svn.freebsd.org/changeset/base/192693 Log: Fix the experimental NFSv4 server so that it handles the case where a client is not allowed NFSv4 access correctly. This restriction is specified in the "V4: ..." line(

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

2009-05-24 Thread Edward Tomasz Napierala
Author: trasz Date: Sun May 24 19:21:49 2009 New Revision: 192694 URL: http://svn.freebsd.org/changeset/base/192694 Log: Don't allow non-owner to set SUID bit on a file. It doesn't make any difference now, but in NFSv4 ACLs, there is write_acl permission, which also affects mode changes.

svn commit: r192695 - head/sys/fs/nfs

2009-05-24 Thread Rick Macklem
Author: rmacklem Date: Sun May 24 19:46:12 2009 New Revision: 192695 URL: http://svn.freebsd.org/changeset/base/192695 Log: Crib the realign function out of nfs_krpc.c and add a call to it for the client side reply. Hopefully this fixes the problem with using the new krpc for arm for the exp

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

2009-05-24 Thread Edward Tomasz Napierala
Author: trasz Date: Sun May 24 20:34:29 2009 New Revision: 192696 URL: http://svn.freebsd.org/changeset/base/192696 Log: There are things too complex to be fixed in one commit. Fix a typo in acl(9) manual page. Submitted by: avg Modified: head/share/man/man9/acl.9 Modified: head/share

svn commit: r192697 - stable/7/usr.sbin/btxld

2009-05-24 Thread Kip Macy
Author: kmacy Date: Sun May 24 20:49:22 2009 New Revision: 192697 URL: http://svn.freebsd.org/changeset/base/192697 Log: merge 177933 Allow for a zero length 'loader'. Modified: stable/7/usr.sbin/btxld/btxld.c Modified: stable/7/usr.sbin/btxld/btxld.c ===

svn commit: r192705 - head/sys/fs/nfs

2009-05-24 Thread Rick Macklem
Author: rmacklem Date: Sun May 24 23:47:22 2009 New Revision: 192705 URL: http://svn.freebsd.org/changeset/base/192705 Log: Temporarily #undef NFS4_ACL_EXTATTR_NAME, so that the experimental nfs subsystem will build while the NFSv4 ACL support is going into the kernel. Approved by: kib

svn commit: r192706 - head/sys/dev/nfe

2009-05-24 Thread Pyun YongHyeon
Author: yongari Date: Mon May 25 00:56:01 2009 New Revision: 192706 URL: http://svn.freebsd.org/changeset/base/192706 Log: NVIDIA MCP controllers have no Rx buffer alignment restrictions. Remove PAGE_SIZE alignment used in Rx buffer DMA tag creation. The alignment restriction was used in old

svn commit: r192707 - head/sys/fs/nfsserver

2009-05-24 Thread Rick Macklem
Author: rmacklem Date: Mon May 25 01:00:09 2009 New Revision: 192707 URL: http://svn.freebsd.org/changeset/base/192707 Log: Add NFSv4 root export checks to the DelegPurge, Renew and ReleaseLockOwner operations analagous to what is already in place for SetClientID and SetClientIDConfirm. Thes

svn commit: r192708 - head/sys/dev/mii

2009-05-24 Thread Pyun YongHyeon
Author: yongari Date: Mon May 25 01:41:05 2009 New Revision: 192708 URL: http://svn.freebsd.org/changeset/base/192708 Log: Use mii_phy_add_media() and remove usage of local macro ADD. Also checks extended status register to see whether the PHY is fast ethernet or not. This removes a lot of c

svn commit: r192709 - head/sys/dev/mii

2009-05-24 Thread Pyun YongHyeon
Author: yongari Date: Mon May 25 01:45:28 2009 New Revision: 192709 URL: http://svn.freebsd.org/changeset/base/192709 Log: Report current link state while auto-negotiation is in progress. Modified: head/sys/dev/mii/e1000phy.c Modified: head/sys/dev/mii/e1000phy.c

svn commit: r192710 - head/sys/dev/mii

2009-05-24 Thread Pyun YongHyeon
Author: yongari Date: Mon May 25 01:56:19 2009 New Revision: 192710 URL: http://svn.freebsd.org/changeset/base/192710 Log: Don't read unnecessary PHY registers. Speed/duplex resolution bit is valid only for auto-negotiation case so check the bit if we know auto-negotiation is active. While I

svn commit: r192711 - head/sys/dev/mii

2009-05-24 Thread Pyun YongHyeon
Author: yongari Date: Mon May 25 02:05:00 2009 New Revision: 192711 URL: http://svn.freebsd.org/changeset/base/192711 Log: Do not ignore NEXT Page capability of auto-negotiation advertisement register. Some PHYs such as 88E3016 requires NEXT Page capability to establish valid link. Also set

svn commit: r192713 - head/sys/dev/mii

2009-05-24 Thread Pyun YongHyeon
Author: yongari Date: Mon May 25 02:36:29 2009 New Revision: 192713 URL: http://svn.freebsd.org/changeset/base/192713 Log: Add driver support for 88E3016 PHY which is found on Marvell Yukon FE+ controller. Due to the severe silicon bugs for Yukon FE+, 88E3016 seems to require more workaround

svn commit: r192714 - in stable/7/sys/boot/i386: . gptzfsboot

2009-05-24 Thread Kip Macy
Author: kmacy Date: Mon May 25 02:59:54 2009 New Revision: 192714 URL: http://svn.freebsd.org/changeset/base/192714 Log: import gptzfsboot Added: stable/7/sys/boot/i386/gptzfsboot/ stable/7/sys/boot/i386/gptzfsboot/Makefile (contents, props changed) Modified: stable/7/sys/boot/i386/Make

svn commit: r192715 - stable/7/sys/boot/i386

2009-05-24 Thread Kip Macy
Author: kmacy Date: Mon May 25 03:06:26 2009 New Revision: 192715 URL: http://svn.freebsd.org/changeset/base/192715 Log: don't try building zfsboot and gptzfsboot if zfs loader is not enabled Modified: stable/7/sys/boot/i386/Makefile Modified: stable/7/sys/boot/i386/Makefile

svn commit: r192716 - head/sys/dev/msk

2009-05-24 Thread Pyun YongHyeon
Author: yongari Date: Mon May 25 03:24:47 2009 New Revision: 192716 URL: http://svn.freebsd.org/changeset/base/192716 Log: Remove link handling taskqueue and use mii callback directly. While I'm here also checks driver running state. Modified: head/sys/dev/msk/if_msk.c head/sys/dev/msk/if

svn commit: r192718 - head/sys/dev/msk

2009-05-24 Thread Pyun YongHyeon
Author: yongari Date: Mon May 25 03:42:33 2009 New Revision: 192718 URL: http://svn.freebsd.org/changeset/base/192718 Log: Use bit definition to represent link state, device suspend instead of using separate variables in softc. Modified: head/sys/dev/msk/if_msk.c head/sys/dev/msk/if_mskre

svn commit: r192719 - head/sys/dev/msk

2009-05-24 Thread Pyun YongHyeon
Author: yongari Date: Mon May 25 03:49:43 2009 New Revision: 192719 URL: http://svn.freebsd.org/changeset/base/192719 Log: Use bit definition to represent MSI and detach state instead of using separate variables in softc. Modified: head/sys/dev/msk/if_msk.c head/sys/dev/msk/if_mskreg.h M

svn commit: r192720 - head/sys/dev/msk

2009-05-24 Thread Pyun YongHyeon
Author: yongari Date: Mon May 25 03:53:12 2009 New Revision: 192720 URL: http://svn.freebsd.org/changeset/base/192720 Log: Correctly return the result of mii_mediachg(). Previously it always used to return success. Modified: head/sys/dev/msk/if_msk.c Modified: head/sys/dev/msk/if_msk.c ===

svn commit: r192721 - stable/7/usr.sbin/mergemaster

2009-05-24 Thread Doug Barton
Author: dougb Date: Mon May 25 04:11:30 2009 New Revision: 192721 URL: http://svn.freebsd.org/changeset/base/192721 Log: MFC 192219: Add -L to the mtree invocation to chase symbolic links that are present in "Service jails." MFC 192230: Enhance the safety and efficiency of the -U opti

svn commit: r192722 - stable/6/usr.sbin/mergemaster

2009-05-24 Thread Doug Barton
Author: dougb Date: Mon May 25 04:13:06 2009 New Revision: 192722 URL: http://svn.freebsd.org/changeset/base/192722 Log: MFC 192219: Add -L to the mtree invocation to chase symbolic links that are present in "Service jails." MFC 192230: Enhance the safety and efficiency of the -U opti

svn commit: r192723 - head/sys/dev/msk

2009-05-24 Thread Pyun YongHyeon
Author: yongari Date: Mon May 25 04:22:27 2009 New Revision: 192723 URL: http://svn.freebsd.org/changeset/base/192723 Log: Rather than checking every chip revision, introduce more flags to mark controller's capability. Controllers that have jumbo frame support sets MSK_FLAG_JUMBO, and contro

svn commit: r192724 - head/sys/dev/msk

2009-05-24 Thread Pyun YongHyeon
Author: yongari Date: Mon May 25 04:25:08 2009 New Revision: 192724 URL: http://svn.freebsd.org/changeset/base/192724 Log: Caller already hold a driver lock in mii callback, assert it. Modified: head/sys/dev/msk/if_msk.c Modified: head/sys/dev/msk/if_msk.c ===

svn commit: r192725 - head/sys/dev/msk

2009-05-24 Thread Pyun YongHyeon
Author: yongari Date: Mon May 25 04:27:12 2009 New Revision: 192725 URL: http://svn.freebsd.org/changeset/base/192725 Log: Oops, add missing ~ operator. Modified: head/sys/dev/msk/if_msk.c Modified: head/sys/dev/msk/if_msk.c ===

svn commit: r192726 - head/sys/dev/msk

2009-05-24 Thread Pyun YongHyeon
Author: yongari Date: Mon May 25 06:09:18 2009 New Revision: 192726 URL: http://svn.freebsd.org/changeset/base/192726 Log: Add support for newer descriptor format. This format is used on Yukon FE+, Yukon Extreme and Yukon Supreme. Modified: head/sys/dev/msk/if_msk.c head/sys/dev/msk/if_ms

svn commit: r192727 - head/sys/dev/msk

2009-05-24 Thread Pyun YongHyeon
Author: yongari Date: Mon May 25 06:19:36 2009 New Revision: 192727 URL: http://svn.freebsd.org/changeset/base/192727 Log: Explicitly check resolved speed/duplex. Just checking IFM_ACTIVE does not guarantee established link. Also 1000baseT link report for fast ethernet controller is not vali

svn commit: r192728 - head/sys/dev/msk

2009-05-24 Thread Pyun YongHyeon
Author: yongari Date: Mon May 25 06:29:02 2009 New Revision: 192728 URL: http://svn.freebsd.org/changeset/base/192728 Log: Disable HW WOL for Yukon EC Ultra. While I'm here use switch statement over if-else statement. This change will make it easy to add newer Yukon controllers. Modified:

svn commit: r192731 - head/sys/dev/msk

2009-05-24 Thread Pyun YongHyeon
Author: yongari Date: Mon May 25 06:39:48 2009 New Revision: 192731 URL: http://svn.freebsd.org/changeset/base/192731 Log: Explicitly reset GMAC Controls and initialize GM_GP_CTRL register. The GM_GP_CTRL register may have stale content from previous link information so clearing it will make

svn commit: r192732 - head/usr.bin/sed

2009-05-24 Thread Brian Somers
Author: brian Date: Mon May 25 06:45:33 2009 New Revision: 192732 URL: http://svn.freebsd.org/changeset/base/192732 Log: Implement "addr1,+N" ranges - not dissimilar to grep's -A switch. PR: 134856 Submitted by: Jeremie Le Hen - jeremie at le-hen dot org Modified: head/usr.bi