svn commit: r197020 - head/sys/sys

2009-09-08 Thread Warner Losh
Author: imp Date: Wed Sep 9 06:49:49 2009 New Revision: 197020 URL: http://svn.freebsd.org/changeset/base/197020 Log: kern_execve.c hasn't been around in ages, so update the file(s) where a_magic is used instead of the a_midmag # maybe we can retire this hack soon... Modified: hea

svn commit: r197019 - in head/sys: conf contrib/x86emu modules modules/x86emu sys

2009-09-08 Thread Xin LI
Author: delphij Date: Wed Sep 9 05:53:26 2009 New Revision: 197019 URL: http://svn.freebsd.org/changeset/base/197019 Log: - Port x86emu to FreeBSD. - Connect x86emu to build. Tested with: make universe Submitted by: swell.k at gmail com Added: head/sys/modules/x86emu/ head/sys/

svn commit: r197018 - head/sys/dev/sound/pci/hda

2009-09-08 Thread Alexander Motin
Author: mav Date: Wed Sep 9 04:48:41 2009 New Revision: 197018 URL: http://svn.freebsd.org/changeset/base/197018 Log: Add NVidia MCP89 HDA controller IDs. Modified: head/sys/dev/sound/pci/hda/hdac.c Modified: head/sys/dev/sound/pci/hda/hdac.c

svn commit: r197017 - head/sys/dev/sound/pci/hda

2009-09-08 Thread Alexander Motin
Author: mav Date: Wed Sep 9 04:36:56 2009 New Revision: 197017 URL: http://svn.freebsd.org/changeset/base/197017 Log: Add Intel 82801JD (one more ICH10) HDA controller ID. Submitted by: yongari Modified: head/sys/dev/sound/pci/hda/hdac.c Modified: head/sys/dev/sound/pci/hda/hdac.c

svn commit: r197016 - head/sys/dev/aac

2009-09-08 Thread Ed Maste
Author: emaste Date: Wed Sep 9 04:04:09 2009 New Revision: 197016 URL: http://svn.freebsd.org/changeset/base/197016 Log: Whitespace tweak. Submitted by: phk, via accidental commit in r196969. Modified: head/sys/dev/aac/aac.c Modified: head/sys/dev/aac/aac.c

svn commit: r197011 - head/sys/dev/aac

2009-09-08 Thread Ed Maste
Author: emaste Date: Wed Sep 9 03:41:40 2009 New Revision: 197011 URL: http://svn.freebsd.org/changeset/base/197011 Log: Increase AAC_CMD_TIMEOUT from 30s to 120s to help avoid spurious "COMMAND 0x TIMEOUT AFTER .. SECONDS" messages. Any commands that get truly stuck will still tri

svn commit: r197010 - head/sys/net

2009-09-08 Thread Ed Maste
Author: emaste Date: Wed Sep 9 03:36:43 2009 New Revision: 197010 URL: http://svn.freebsd.org/changeset/base/197010 Log: Compare pointer with NULL, not 0. Modified: head/sys/net/if_vlan.c Modified: head/sys/net/if_vlan.c ==

svn commit: r197009 - head/sys/contrib/x86emu

2009-09-08 Thread Xin LI
Author: delphij Date: Wed Sep 9 01:19:26 2009 New Revision: 197009 URL: http://svn.freebsd.org/changeset/base/197009 Log: Import x86emu from OpenBSD as of OPENBSD_4_6. Added: head/sys/contrib/x86emu/ - copied from r197008, vendor-sys/x86emu/dist/

svn commit: r197008 - vendor-sys/x86emu/4.6

2009-09-08 Thread Xin LI
Author: delphij Date: Wed Sep 9 01:16:50 2009 New Revision: 197008 URL: http://svn.freebsd.org/changeset/base/197008 Log: Tag for 4.6 as the code was checked out from OPENBSD_4_6. Added: vendor-sys/x86emu/4.6/ - copied from r197007, vendor-sys/x86emu/dist/ __

svn commit: r197007 - in vendor-sys/x86emu: . dist

2009-09-08 Thread Xin LI
Author: delphij Date: Wed Sep 9 01:14:25 2009 New Revision: 197007 URL: http://svn.freebsd.org/changeset/base/197007 Log: Import x86emu from OpenBSD (src/sys/dev/x86emu). x86emu is a software emulator for the real mode x86 processor, originally written by SciTech Software, Inc. for XFree

svn commit: r197006 - svnadmin/conf

2009-09-08 Thread Xin LI
Author: delphij Date: Wed Sep 9 01:14:09 2009 New Revision: 197006 URL: http://svn.freebsd.org/changeset/base/197006 Log: Add vendor-sys/x86emu to allow list so that I will be able to import it. Modified: svnadmin/conf/paths Modified: svnadmin/conf/paths

svn commit: r197002 - stable/6/share/zoneinfo

2009-09-08 Thread Edwin Groothuis
Author: edwin Date: Wed Sep 9 00:16:49 2009 New Revision: 197002 URL: http://svn.freebsd.org/changeset/base/197002 Log: MFC from 197000: Update to tzdata2008m: Samoa will go in DST on 4 October 2009 till 28 March 2010 Palestine will go back from DST on 4 September 2009 Modified:

svn commit: r197001 - stable/7/share/zoneinfo

2009-09-08 Thread Edwin Groothuis
Author: edwin Date: Wed Sep 9 00:15:43 2009 New Revision: 197001 URL: http://svn.freebsd.org/changeset/base/197001 Log: MFC from 197000: Update to tzdata2008m: Samoa will go in DST on 4 October 2009 till 28 March 2010 Palestine will go back from DST on 4 September 2009 Modified:

svn commit: r197000 - head/share/zoneinfo

2009-09-08 Thread Edwin Groothuis
Author: edwin Date: Wed Sep 9 00:07:05 2009 New Revision: 197000 URL: http://svn.freebsd.org/changeset/base/197000 Log: MFV of r196998. Import of tzdata2008m Samoa will go in DST on 4 October 2009 till 28 March 2010 Palestine will go back from DST on 4 September 2009 Modified: he

svn commit: r196999 - vendor/tzdata/tzdata2009m

2009-09-08 Thread Edwin Groothuis
Author: edwin Date: Wed Sep 9 00:03:15 2009 New Revision: 196999 URL: http://svn.freebsd.org/changeset/base/196999 Log: Tag of tzdata2009m Added: vendor/tzdata/tzdata2009m/ - copied from r196998, vendor/tzdata/dist/ ___ svn-src-all@freebsd.org

svn commit: r196998 - vendor/tzdata/dist

2009-09-08 Thread Edwin Groothuis
Author: edwin Date: Wed Sep 9 00:01:09 2009 New Revision: 196998 URL: http://svn.freebsd.org/changeset/base/196998 Log: Vendor import of tzdata2008m: Samoa will go in DST on 4 October 2009 till 28 March 2010 Palestine will go back from DST on 4 September 2009 Obtained from:f

svn commit: r196997 - stable/8/sys/net

2009-09-08 Thread Jack F Vogel
Author: jfv Date: Tue Sep 8 23:25:39 2009 New Revision: 196997 URL: http://svn.freebsd.org/changeset/base/196997 Log: Make LRO turned off uncategorically for devices attached to the bridge, rather than just in the case when some device cannot do TSO. Customer tests have shown that even wh

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

2009-09-08 Thread John Baldwin
Author: jhb Date: Tue Sep 8 21:50:34 2009 New Revision: 196996 URL: http://svn.freebsd.org/changeset/base/196996 Log: MFC 196745: Don't attempt to bind the current thread to the CPU an IRQ is bound to when removing an interrupt handler from an IRQ during shutdown. During shutdown we are

svn commit: r196995 - in head/sys: net netinet

2009-09-08 Thread Navdeep Parhar
Author: np Date: Tue Sep 8 21:17:17 2009 New Revision: 196995 URL: http://svn.freebsd.org/changeset/base/196995 Log: Add arp_update_event. This replaces route_arp_update_event, which has not worked since the arp-v2 rewrite. The event handler will be called with the llentry write-locked

svn commit: r196994 - in head/sys: amd64/include arm/include i386/include ia64/include mips/include pc98/include powerpc/include sparc64/include sun4v/include sys

2009-09-08 Thread Poul-Henning Kamp
Author: phk Date: Tue Sep 8 20:45:40 2009 New Revision: 196994 URL: http://svn.freebsd.org/changeset/base/196994 Log: Get rid of the _NO_NAMESPACE_POLLUTION kludge by creating an architecture specific include file containing the _ALIGN* stuff which needs. Added: head/sys/amd64/include/_

svn commit: r196993 - head/sys/powerpc/conf

2009-09-08 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Sep 8 20:12:26 2009 New Revision: 196993 URL: http://svn.freebsd.org/changeset/base/196993 Log: Remove some debugging (KTR_VERBOSE) that crept into ppc GENERIC long ago and is present on no other architectures by default. MFC after:4 days Modified: hea

svn commit: r196992 - in head/cddl: compat/opensolaris/include contrib/opensolaris/head

2009-09-08 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Sep 8 20:06:35 2009 New Revision: 196992 URL: http://svn.freebsd.org/changeset/base/196992 Log: Implement __assert() for Solaris-specific code. Until now Solaris code was using Solaris prototype for __assert(), but FreeBSD's implementation. Both take different argument

svn commit: r196991 - svnadmin/conf

2009-09-08 Thread Bjoern A. Zeeb
Author: bz Date: Tue Sep 8 20:05:51 2009 New Revision: 196991 URL: http://svn.freebsd.org/changeset/base/196991 Log: Free jamie from the jail of mentorship. Modified: svnadmin/conf/mentors Modified: svnadmin/conf/mentors ==

Re: svn commit: r195843 - in head: lib/libkvm sys/kern sys/sys

2009-09-08 Thread Brooks Davis
On Sun, Sep 06, 2009 at 04:47:00AM +0100, Bruce Cran wrote: > On Fri, 4 Sep 2009 17:14:32 -0500 > Brooks Davis wrote: > > > On Sat, Aug 29, 2009 at 08:12:28PM +0100, Bruce Cran wrote: > > > On Fri, 24 Jul 2009 15:03:10 + (UTC) > > > Brooks Davis wrote: > > > > > > > Author: brooks > > > > D

svn commit: r196990 - head/lib/libkvm

2009-09-08 Thread Brooks Davis
Author: brooks Date: Tue Sep 8 19:37:59 2009 New Revision: 196990 URL: http://svn.freebsd.org/changeset/base/196990 Log: cr_groups is no longer embedded in struct ucred and is instead stored in a seperate array. As such we need to use kvm_read rather than bcopy to populate the ki_groups fi

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

2009-09-08 Thread Jamie Gritton
Author: jamie Date: Tue Sep 8 19:18:02 2009 New Revision: 196989 URL: http://svn.freebsd.org/changeset/base/196989 Log: MFC r196835: Allow a jail's name to be the same as its jid (which is the default if no name is specified), and let a numeric name specify the jid for a new jail wh

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

2009-09-08 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Sep 8 17:23:32 2009 New Revision: 196987 URL: http://svn.freebsd.org/changeset/base/196987 Log: Remove useless variable assignment. Modified: head/sys/ufs/ufs/ufs_acl.c Modified: head/sys/ufs/ufs/ufs_acl.c =

svn commit: r196986 - head/sys/geom

2009-09-08 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Sep 8 17:20:17 2009 New Revision: 196986 URL: http://svn.freebsd.org/changeset/base/196986 Log: Remove unused variable. Modified: head/sys/geom/geom_vfs.c Modified: head/sys/geom/geom_vfs.c =

Re: svn commit: r196976 - head/lib/libc/net

2009-09-08 Thread Poul-Henning Kamp
>> @@ -33,6 +33,7 @@ >> __FBSDID("$FreeBSD$"); >> >> #include "namespace.h" >> +#include >> #include > >style(9) seems to advice to include either types.h or param.h, but not both. yeah, I had to dig deeper and found the _NO_NAMESPACE_POLLUTION hack which makes a mess of . I'm trying to d

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

2009-09-08 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Sep 8 16:40:08 2009 New Revision: 196985 URL: http://svn.freebsd.org/changeset/base/196985 Log: Only log successful commands! Without this fix we log even unsuccessful commands executed by unprivileged users. Action is not really taken, but it is logged to pool history

svn commit: r196984 - head/sys/dev/ep

2009-09-08 Thread Warner Losh
Author: imp Date: Tue Sep 8 16:37:18 2009 New Revision: 196984 URL: http://svn.freebsd.org/changeset/base/196984 Log: Cleanup tortured logic a big. Noticed by FlexLint, per phk. # My reading of the docs suggests this can only happen on 10Base5 and # 10Base2 setups (and maybe only the fo

svn commit: r196983 - head/sys/cam/scsi

2009-09-08 Thread Scott Long
Author: scottl Date: Tue Sep 8 16:09:28 2009 New Revision: 196983 URL: http://svn.freebsd.org/changeset/base/196983 Log: Free the correct buffer in an error case. Submitted by: phk Modified: head/sys/cam/scsi/scsi_cd.c Modified: head/sys/cam/scsi/scsi_cd.c =

Re: svn commit: r196976 - head/lib/libc/net

2009-09-08 Thread Dag-Erling Smørgrav
Pawel Jakub Dawidek writes: > style(9) seems to advice to include either types.h or param.h, but not both. correct, already includes . DES -- Dag-Erling Smørgrav - d...@des.no ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/

Re: svn commit: r196976 - head/lib/libc/net

2009-09-08 Thread Pawel Jakub Dawidek
On Tue, Sep 08, 2009 at 03:18:25PM +, Poul-Henning Kamp wrote: > Author: phk > Date: Tue Sep 8 15:18:25 2009 > New Revision: 196976 > URL: http://svn.freebsd.org/changeset/base/196976 > > Log: > Add necessary include > > Modified: > head/lib/libc/net/getifaddrs.c > > Modified: head/lib/

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

2009-09-08 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Sep 8 15:57:03 2009 New Revision: 196982 URL: http://svn.freebsd.org/changeset/base/196982 Log: We don't export individual snapshots, so mnt_export field in snapshot's mount point is NULL. That's why when we try to access snapshots over NFS use mnt_export field from th

svn commit: r196981 - head/usr.bin/unzip

2009-09-08 Thread Roman Divacky
Author: rdivacky Date: Tue Sep 8 15:55:13 2009 New Revision: 196981 URL: http://svn.freebsd.org/changeset/base/196981 Log: Add C/c/f/p/v switches plus a bunch of minor fixes and cleanups. Obtained from:NetBSD Approved by: des (maintainer) Approved by: ed (mentor, implicit) M

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

2009-09-08 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Sep 8 15:51:40 2009 New Revision: 196980 URL: http://svn.freebsd.org/changeset/base/196980 Log: When we automatically mount snapshot we want to return vnode of the mount point from the lookup and not covered vnode. This is one of the fixes for using .zfs/ over NFS.

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

2009-09-08 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Sep 8 15:42:55 2009 New Revision: 196979 URL: http://svn.freebsd.org/changeset/base/196979 Log: On FreeBSD we don't have to look for snapshot's mount point, because fhtovp method is already called with proper mount point. MFC after:1 week Modified: head/sys/c

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

2009-09-08 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Sep 8 15:37:01 2009 New Revision: 196978 URL: http://svn.freebsd.org/changeset/base/196978 Log: Call ZFS_EXIT() after locking the vnode. MFC after:1 week Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c Modified: head/sys/cddl/contrib

svn commit: r196977 - in stable/8/sys: . amd64/include/xen arm/arm cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci kern sys vm

2009-09-08 Thread Konstantin Belousov
Author: kib Date: Tue Sep 8 15:31:23 2009 New Revision: 196977 URL: http://svn.freebsd.org/changeset/base/196977 Log: MFC r196730: Remove the altkstacks, instead instantiate threads with kernel stack allocated with the right size from the start. For the thread that has kernel stack cached

svn commit: r196976 - head/lib/libc/net

2009-09-08 Thread Poul-Henning Kamp
Author: phk Date: Tue Sep 8 15:18:25 2009 New Revision: 196976 URL: http://svn.freebsd.org/changeset/base/196976 Log: Add necessary include Modified: head/lib/libc/net/getifaddrs.c Modified: head/lib/libc/net/getifaddrs.c =

svn commit: r196975 - in stable/6: bin/ps sys/kern

2009-09-08 Thread Attilio Rao
Author: attilio Date: Tue Sep 8 15:13:49 2009 New Revision: 196975 URL: http://svn.freebsd.org/changeset/base/196975 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 po

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

2009-09-08 Thread Konstantin Belousov
Author: kib Date: Tue Sep 8 14:43:42 2009 New Revision: 196974 URL: http://svn.freebsd.org/changeset/base/196974 Log: MFC r196692: Make the mnt_writeopcount and mnt_secondary_writes counters, used by the suspension code, not greater then mnt_ref reference counter value. MFC r196733:

svn commit: r196973 - stable/6/sys/ufs/ffs

2009-09-08 Thread Attilio Rao
Author: attilio Date: Tue Sep 8 14:19:14 2009 New Revision: 196973 URL: http://svn.freebsd.org/changeset/base/196973 Log: MFC r180758: Prevent the bdflush() activity when trying to lock an indirect block buffer setting TDP_INBDFUSH in the appropriate code paths. Sponsored by: Sandvine

svn commit: r196972 - stable/6/usr.sbin/tzsetup

2009-09-08 Thread Attilio Rao
Author: attilio Date: Tue Sep 8 14:15:14 2009 New Revision: 196972 URL: http://svn.freebsd.org/changeset/base/196972 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: stabl

Re: svn commit: r196969 - in head/sys: cam/scsi contrib/dev/acpica/executer dev/aac dev/ae dev/amr dev/ata dev/ata/chipsets dev/ath dev/ath/ath_hal dev/bce dev/e1000 dev/ep dev/firewire dev/fxp dev/hp

2009-09-08 Thread Poul-Henning Kamp
Hep! Pointy hat over here! Thanks... So, anyway, I spent a hour stuck in a train yesterday and ran flexelint on the kernel. Apart from if_urtw.c, all the stuff below was flagged by FlexeLint and if any of your files were included, please take a peek and see if it is only smoke or if there is a

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

2009-09-08 Thread Poul-Henning Kamp
Author: phk Date: Tue Sep 8 13:24:36 2009 New Revision: 196971 URL: http://svn.freebsd.org/changeset/base/196971 Log: Having thrown the cat out of the house, add a necessary include. Modified: head/sys/security/audit/audit_bsm_token.c Modified: head/sys/security/audit/audit_bsm_token.c

svn commit: r196970 - in head/sys: cam/scsi contrib/dev/acpica/executer dev/aac dev/ae dev/amr dev/ata dev/ata/chipsets dev/ath dev/ath/ath_hal dev/bce dev/e1000 dev/ep dev/firewire dev/fxp dev/hpt...

2009-09-08 Thread Poul-Henning Kamp
Author: phk Date: Tue Sep 8 13:19:05 2009 New Revision: 196970 URL: http://svn.freebsd.org/changeset/base/196970 Log: Revert previous commit and add myself to the list of people who should know better than to commit with a cat in the area. Modified: head/sys/cam/scsi/scsi_cd.c head/sys/c

svn commit: r196969 - in head/sys: cam/scsi contrib/dev/acpica/executer dev/aac dev/ae dev/amr dev/ata dev/ata/chipsets dev/ath dev/ath/ath_hal dev/bce dev/e1000 dev/ep dev/firewire dev/fxp dev/hpt...

2009-09-08 Thread Poul-Henning Kamp
Author: phk Date: Tue Sep 8 13:16:55 2009 New Revision: 196969 URL: http://svn.freebsd.org/changeset/base/196969 Log: Add necessary include. Modified: head/sys/cam/scsi/scsi_cd.c head/sys/contrib/dev/acpica/executer/exfldio.c head/sys/dev/aac/aac.c head/sys/dev/ae/if_ae.c head/sys/de

svn commit: r196968 - head/sys/amd64/include

2009-09-08 Thread Poul-Henning Kamp
Author: phk Date: Tue Sep 8 12:59:56 2009 New Revision: 196968 URL: http://svn.freebsd.org/changeset/base/196968 Log: Move multi-include protection back up to the top of the file and name after the physical file rather than the aliased name. Modified: head/sys/amd64/include/param.h Modifi

svn commit: r196967 - in head/sys: netinet sys

2009-09-08 Thread Poul-Henning Kamp
Author: phk Date: Tue Sep 8 10:39:38 2009 New Revision: 196967 URL: http://svn.freebsd.org/changeset/base/196967 Log: Move the duplicate definition of struct sockaddr_storage to its own include file, and include this where the previous duplicate definitions were. Static program checkers

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

2009-09-08 Thread Konstantin Belousov
Author: kib Date: Tue Sep 8 09:17:34 2009 New Revision: 196966 URL: http://svn.freebsd.org/changeset/base/196966 Log: Lock Giant around vn_open_cred(). Remove innocent unnecessary call to NDFREE(). Reported by: marcel Reviewed and tested by: pjd MFC after:3 days Modified:

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

2009-09-08 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Sep 8 08:54:15 2009 New Revision: 196965 URL: http://svn.freebsd.org/changeset/base/196965 Log: Fix reference count leak for a case where snapshot's mount point is updated. Such situation is not supported. This problem was triggered by something like this: