Re: svn commit: r203990 - head/lib/libc/sys

2010-02-18 Thread Jaakko Heinonen
On 2010-02-18, Bruce Evans wrote: > > critter phk> ./a.out > > a.out: Told you so: Is a directory > > Better fix the kernel bug than break the documentation then. Seconded. > namei() returns EISDIR for "/" (due to DELETE and and the special handling > of the degenerate case which includes "/" an

svn commit: r204040 - head/sys/netinet

2010-02-18 Thread Michael Tuexen
Author: tuexen Date: Thu Feb 18 13:46:54 2010 New Revision: 204040 URL: http://svn.freebsd.org/changeset/base/204040 Log: Use uint32_t instead of u_long. MFC after: 1 week Modified: head/sys/netinet/sctp_indata.c Modified: head/sys/netinet/sctp_indata.c =

svn commit: r204041 - in head/sys: amd64/amd64 i386/i386 i386/xen

2010-02-18 Thread Ed Schouten
Author: ed Date: Thu Feb 18 14:28:38 2010 New Revision: 204041 URL: http://svn.freebsd.org/changeset/base/204041 Log: Allow the pmap code to be built with GCC from FreeBSD 7 again. This patch basically gives us the best of both worlds. Instead of forcing the compiler to emulate GNU-style

Re: svn commit: r204041 - in head/sys: amd64/amd64 i386/i386 i386/xen

2010-02-18 Thread John Baldwin
On Thursday 18 February 2010 9:28:38 am Ed Schouten wrote: > Author: ed > Date: Thu Feb 18 14:28:38 2010 > New Revision: 204041 > URL: http://svn.freebsd.org/changeset/base/204041 > > Log: > Allow the pmap code to be built with GCC from FreeBSD 7 again. > > This patch basically gives us the

svn commit: r204042 - head/sys/powerpc/aim

2010-02-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Feb 18 15:00:43 2010 New Revision: 204042 URL: http://svn.freebsd.org/changeset/base/204042 Log: Fix a bug where pages being removed from memory entirely no longer have PVOs, and so the modified state of the page can no longer be communicated to the VM layer, cau

svn commit: r204044 - head/release/scripts

2010-02-18 Thread Ken Smith
Author: kensmith Date: Thu Feb 18 15:45:43 2010 New Revision: 204044 URL: http://svn.freebsd.org/changeset/base/204044 Log: Provide a script that can be used to create the memstick images. For now it isn't being integrated into 'make release' because for the forseeable future the memstick i

svn commit: r204045 - head/usr.bin/kdump

2010-02-18 Thread Warner Losh
Author: imp Date: Thu Feb 18 16:05:09 2010 New Revision: 204045 URL: http://svn.freebsd.org/changeset/base/204045 Log: The kdump data stream is an unaligned data stream for stat and sockaddr structures. As such, we have top copy the data structure into a local buffer before we can reference

svn commit: r204050 - head/sys/dev/isp

2010-02-18 Thread Matt Jacob
Author: mjacob Date: Thu Feb 18 18:35:09 2010 New Revision: 204050 URL: http://svn.freebsd.org/changeset/base/204050 Log: Don't try and re-use a handle, even if the firmware tells you that's what is logged in. PR: kern/144026 MFC after:1 week Modified: head/sys/dev/isp/i

svn commit: r204051 - head/sys/sys

2010-02-18 Thread Warner Losh
Author: imp Date: Thu Feb 18 18:57:15 2010 New Revision: 204051 URL: http://svn.freebsd.org/changeset/base/204051 Log: n64 has a different size for KINFO_PROC_SIZE. Modified: head/sys/sys/user.h Modified: head/sys/sys/user.h ===

svn commit: r204052 - head/sys/mips/mips

2010-02-18 Thread Warner Losh
Author: imp Date: Thu Feb 18 19:02:33 2010 New Revision: 204052 URL: http://svn.freebsd.org/changeset/base/204052 Log: Use proper structure type for 64-bit headers # this fixes the MALTA64 build Modified: head/sys/mips/mips/elf_trampoline.c Modified: head/sys/mips/mips/elf_trampoline.c

svn commit: r204053 - head/usr.bin/hexdump

2010-02-18 Thread Gavin Atkinson
Author: gavin Date: Thu Feb 18 19:06:30 2010 New Revision: 204053 URL: http://svn.freebsd.org/changeset/base/204053 Log: The correct value of DEL is 0x7f, not 0xff. This is purely a documentation issue - od(1) and hexdump(1) behave as expected. PR: docs/143869 Submitted by: g

svn commit: r204054 - head/sys/mips/cavium

2010-02-18 Thread Warner Losh
Author: imp Date: Thu Feb 18 19:24:23 2010 New Revision: 204054 URL: http://svn.freebsd.org/changeset/base/204054 Log: Parens around tertiary operator so that casting the result works... Modified: head/sys/mips/cavium/octeon_pcmap_regs.h Modified: head/sys/mips/cavium/octeon_pcmap_regs.h ===

svn commit: r204055 - in head/sys/mips/cavium: . dev/rgmii

2010-02-18 Thread Warner Losh
Author: imp Date: Thu Feb 18 19:27:00 2010 New Revision: 204055 URL: http://svn.freebsd.org/changeset/base/204055 Log: Make printfs work for both OCTEON1 and OCTEON1-32 Modified: head/sys/mips/cavium/dev/rgmii/octeon_fpa.c head/sys/mips/cavium/octeon_machdep.c Modified: head/sys/mips/caviu

svn commit: r204056 - head/sys/mips/alchemy

2010-02-18 Thread Warner Losh
Author: imp Date: Thu Feb 18 19:41:38 2010 New Revision: 204056 URL: http://svn.freebsd.org/changeset/base/204056 Log: Hack to make ALCHEMY compile again... Modified: head/sys/mips/alchemy/obio.c Modified: head/sys/mips/alchemy/obio.c =

svn commit: r204060 - head/sys/conf

2010-02-18 Thread Warner Losh
Author: imp Date: Thu Feb 18 20:20:34 2010 New Revision: 204060 URL: http://svn.freebsd.org/changeset/base/204060 Log: Unbreak SENTRY5 build. Modified: head/sys/conf/files.mips Modified: head/sys/conf/files.mips == -

svn commit: r204061 - head

2010-02-18 Thread Edwin Groothuis
Author: edwin Date: Thu Feb 18 21:14:29 2010 New Revision: 204061 URL: http://svn.freebsd.org/changeset/base/204061 Log: Add heads-up requests for parts of the tree I look after and which are partly maintained by a third party: - share/zoneinfo - usr.sbin/zic - lib/libc/stdtime Modif

svn commit: r204063 - head/sys/nfsclient

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 22:10:55 2010 New Revision: 204063 URL: http://svn.freebsd.org/changeset/base/204063 Log: Simplify code a bit. Modified: head/sys/nfsclient/nfs_kdtrace.c Modified: head/sys/nfsclient/nfs_kdtrace.c ==

svn commit: r204064 - head/sys/kern

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 22:12:40 2010 New Revision: 204064 URL: http://svn.freebsd.org/changeset/base/204064 Log: Use NULL instead of 0 when setting up pointer. Modified: head/sys/kern/uipc_syscalls.c Modified: head/sys/kern/uipc_syscalls.c ==

svn commit: r204065 - head/sys/kern

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 22:14:44 2010 New Revision: 204065 URL: http://svn.freebsd.org/changeset/base/204065 Log: Use vput() instead of VOP_UNLOCK()+vrele(). The comment here is out-dated, we no longer pass thread pointer to VOP_UNLOCK(). Modified: head/sys/kern/vfs_default.c Modified

svn commit: r204066 - head/sys/kern

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 22:22:45 2010 New Revision: 204066 URL: http://svn.freebsd.org/changeset/base/204066 Log: - Reduce scope of vnode lock. vfs_mount_alloc() doesn't need vnode to be locked. - Remove code duplication. Modified: head/sys/kern/vfs_mount.c Modified: head/sys/kern

svn commit: r204067 - head/sys/boot/zfs

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 22:23:30 2010 New Revision: 204067 URL: http://svn.freebsd.org/changeset/base/204067 Log: Update comment. We also look for GPT partitions. Modified: head/sys/boot/zfs/zfs.c Modified: head/sys/boot/zfs/zfs.c

svn commit: r204068 - in head/sys: compat/linux netinet

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 22:26:01 2010 New Revision: 204068 URL: http://svn.freebsd.org/changeset/base/204068 Log: No need to include security/mac/mac_framework.h here. Modified: head/sys/compat/linux/linux_stats.c head/sys/netinet/ip_mroute.c head/sys/netinet/ip_options.c Modified:

svn commit: r204069 - head/sys/geom

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 22:27:38 2010 New Revision: 204069 URL: http://svn.freebsd.org/changeset/base/204069 Log: Log attach just like we log detach. Modified: head/sys/geom/geom_subr.c Modified: head/sys/geom/geom_subr.c =

svn commit: r204070 - head/sys/geom/stripe

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 22:28:12 2010 New Revision: 204070 URL: http://svn.freebsd.org/changeset/base/204070 Log: Correct comment. Modified: head/sys/geom/stripe/g_stripe.c Modified: head/sys/geom/stripe/g_stripe.c

svn commit: r204071 - head/sys/geom/multipath

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 22:29:35 2010 New Revision: 204071 URL: http://svn.freebsd.org/changeset/base/204071 Log: - Style fixes. - Prefer strlcpy() over strncpy(). Modified: head/sys/geom/multipath/g_multipath.c Modified: head/sys/geom/multipath/g_multipath.c =

svn commit: r204072 - head/sys/netinet6

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 22:30:37 2010 New Revision: 204072 URL: http://svn.freebsd.org/changeset/base/204072 Log: No need to include security/mac/mac_framework.h here. Modified: head/sys/netinet6/in6_pcb.c Modified: head/sys/netinet6/in6_pcb.c ===

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

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 22:31:43 2010 New Revision: 204073 URL: http://svn.freebsd.org/changeset/base/204073 Log: Add tunable and sysctl to skip hostid check on pool import. Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c Modified: head/sys/cddl/contrib/opensolaris/u

svn commit: r204074 - head/sys/netipsec

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 22:34:29 2010 New Revision: 204074 URL: http://svn.freebsd.org/changeset/base/204074 Log: Correct typo in comment. Modified: head/sys/netipsec/keydb.h Modified: head/sys/netipsec/keydb.h

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

2010-02-18 Thread Dmitry Morozovsky
On Thu, 18 Feb 2010, Pawel Jakub Dawidek wrote: PJD> Log: PJD> Add tunable and sysctl to skip hostid check on pool import. Wow, thank you! What do you think about disabling this check by default (no MFCs, surely, due to POLA)? And, is it possible to distinguish hardware changes from OS change

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

2010-02-18 Thread Pawel Jakub Dawidek
On Fri, Feb 19, 2010 at 01:42:13AM +0300, Dmitry Morozovsky wrote: > On Thu, 18 Feb 2010, Pawel Jakub Dawidek wrote: > > PJD> Log: > PJD> Add tunable and sysctl to skip hostid check on pool import. > > Wow, thank you! > > What do you think about disabling this check by default (no MFCs, surely

svn commit: r204075 - in head/sbin/ggate: ggated shared

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 23:04:01 2010 New Revision: 204075 URL: http://svn.freebsd.org/changeset/base/204075 Log: Style nits. Modified: head/sbin/ggate/ggated/ggated.c head/sbin/ggate/shared/ggate.c Modified: head/sbin/ggate/ggated/ggated.c

svn commit: r204076 - in head: etc/defaults etc/rc.d sbin sbin/ggate/ggatec sbin/ggate/ggatel sbin/hastctl sbin/hastd share/examples share/examples/hast share/man/man5 sys/geom/gate

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 23:16:19 2010 New Revision: 204076 URL: http://svn.freebsd.org/changeset/base/204076 Log: Please welcome HAST - Highly Avalable Storage. HAST allows to transparently store data on two physically separated machines connected over the TCP/IP network. HAST works

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

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 23:20:15 2010 New Revision: 204077 URL: http://svn.freebsd.org/changeset/base/204077 Log: Remove some lines left over by accident. Modified: head/etc/rc.d/hastd Modified: head/etc/rc.d/hastd

Re: svn commit: r204076 - in head: etc/defaults etc/rc.d sbin sbin/ggate/ggatec sbin/ggate/ggatel sbin/hastctl sbin/hastd share/examples share/examples/hast share/man/man5 sys/geom/gate

2010-02-18 Thread Robert Watson
On Thu, 18 Feb 2010, Pawel Jakub Dawidek wrote: Please welcome HAST - Highly Avalable Storage. Excellent news! I know a number of shops will be very excited to see this in the tree. Could you say a little about the future of ggated in light of the new arrival? Robert HAST allows to

Re: svn commit: r204077 - head/etc/rc.d

2010-02-18 Thread Doug Barton
On 02/18/10 15:20, Pawel Jakub Dawidek wrote: Author: pjd Date: Thu Feb 18 23:20:15 2010 New Revision: 204077 URL: http://svn.freebsd.org/changeset/base/204077 Log: Remove some lines left over by accident. If this script is starting a persistent service it should have KEYWORD: SHUTDOWN add

svn commit: r204080 - head/etc/mtree

2010-02-18 Thread Xin LI
Author: delphij Date: Fri Feb 19 02:34:25 2010 New Revision: 204080 URL: http://svn.freebsd.org/changeset/base/204080 Log: Create a directory for hast's examples. Modified: head/etc/mtree/BSD.usr.dist Modified: head/etc/mtree/BSD.usr.dist =

svn commit: r204081 - head/sys/dev/bwn

2010-02-18 Thread Weongyo Jeong
Author: weongyo Date: Fri Feb 19 03:36:02 2010 New Revision: 204081 URL: http://svn.freebsd.org/changeset/base/204081 Log: o print msgs with length if the frame is too short to pass to net80211. o print key index for debugging if the frame is attempted to decrypt for WEP, AES or TKIP thoug

svn commit: r204082 - head/sys/powerpc/powermac

2010-02-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Feb 19 04:37:54 2010 New Revision: 204082 URL: http://svn.freebsd.org/changeset/base/204082 Log: Allow the SMU driver to read a variety of hardware sensors (possible questions on the thermal calibration), and to read and set fan RPMs from software. While here, fi

Re: svn commit: r204076 - in head: etc/defaults etc/rc.d sbin sbin/ggate/ggatec sbin/ggate/ggatel sbin/hastctl sbin/hastd share/examples share/examples/hast share/man/man5 sys/geom/gate

2010-02-18 Thread Pawel Jakub Dawidek
On Thu, Feb 18, 2010 at 11:22:31PM +, Robert Watson wrote: > > On Thu, 18 Feb 2010, Pawel Jakub Dawidek wrote: > > > Please welcome HAST - Highly Avalable Storage. > > Excellent news! I know a number of shops will be very excited to see this > in the tree. > > Could you say a little about