svn commit: r205789 - head/sys/netipsec

2010-03-27 Thread Bjoern A. Zeeb
Author: bz Date: Sun Mar 28 06:51:50 2010 New Revision: 205789 URL: http://svn.freebsd.org/changeset/base/205789 Log: When tearing down IPsec as part of a (virtual) network stack, do not try to free the same list twice but free both the acquiring list and the security policy acquiring list.

svn commit: r205781 - head/sys/dev/bktr

2010-03-27 Thread Justin T. Gibbs
Author: gibbs Date: Sun Mar 28 00:10:09 2010 New Revision: 205781 URL: http://svn.freebsd.org/changeset/base/205781 Log: Use standard types in preference to BSD types so that these header files can be used in applications compiled with only POSIX types visible. MFC after: 2 weeks Modifie

svn commit: r205778 - in head/sys: amd64/amd64 i386/i386

2010-03-27 Thread Alan Cox
Author: alc Date: Sat Mar 27 23:53:47 2010 New Revision: 205778 URL: http://svn.freebsd.org/changeset/base/205778 Log: Correctly handle preemption of pmap_update_pde_invalidate(). X-MFC after: r205573 Modified: head/sys/amd64/amd64/pmap.c head/sys/i386/i386/pmap.c Modified: head/sys/

svn commit: r205775 - stable/8/share/man/man9

2010-03-27 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Mar 27 18:45:53 2010 New Revision: 205775 URL: http://svn.freebsd.org/changeset/base/205775 Log: MFC r203122: Improve descriptions, remove turnstiles (since, from what I understand, they are only used to implement other synchronization primitives), tweak formatti

svn commit: r205773 - head/sys/i386/i386

2010-03-27 Thread Alan Cox
Author: alc Date: Sat Mar 27 18:24:27 2010 New Revision: 205773 URL: http://svn.freebsd.org/changeset/base/205773 Log: Simplify pmap_growkernel(), making the i386 version more like the amd64 version. MFC after:3 weeks Modified: head/sys/i386/i386/pmap.c Modified: head/sys/i386/i38

svn commit: r205772 - in stable/8/sbin/geom: class/cache core

2010-03-27 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Mar 27 18:15:18 2010 New Revision: 205772 URL: http://svn.freebsd.org/changeset/base/205772 Log: MFC r201432: Add manual page for gcache(8). Added: stable/8/sbin/geom/class/cache/gcache.8 - copied unchanged from r201432, head/sbin/geom/class/cache/gcache.8 Mo

svn commit: r205771 - stable/8/sys/kern

2010-03-27 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Mar 27 18:12:00 2010 New Revision: 205771 URL: http://svn.freebsd.org/changeset/base/205771 Log: MFC r200723: Interpret VAPPEND correctly in vaccess_acl_nfs4(9). Modified: stable/8/sys/kern/subr_acl_nfs4.c Directory Properties: stable/8/sys/ (props changed)

svn commit: r205770 - stable/8/sys/kern

2010-03-27 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Mar 27 18:09:40 2010 New Revision: 205770 URL: http://svn.freebsd.org/changeset/base/205770 Log: MFC r200273: Don't add VAPPEND if the file is not being opened for writing. Note that this only affects cases where open(2) is being used improperly - i.e. when the us

svn commit: r205769 - stable/8/sys/kern

2010-03-27 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Mar 27 18:08:14 2010 New Revision: 205769 URL: http://svn.freebsd.org/changeset/base/205769 Log: MFC r200058: Add change that was somehow missed in r192586. It could manifest by incorrectly returning EINVAL from acl_valid(3) for applications linked against pre-8

svn commit: r205768 - stable/8/sys/geom/label

2010-03-27 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Mar 27 18:04:33 2010 New Revision: 205768 URL: http://svn.freebsd.org/changeset/base/205768 Log: MFC r199875: Provide a set of sysctls and tunables to disable device node creation for specific "kinds" of disk labels - for example, GPT UUIDs. Reason for this is t

svn commit: r205767 - stable/8/sbin/mount

2010-03-27 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Mar 27 18:01:38 2010 New Revision: 205767 URL: http://svn.freebsd.org/changeset/base/205767 Log: MFC r199182: Add links to zfs(8) and zpool(8) to mount(8) manual page. Modified: stable/8/sbin/mount/mount.8 Directory Properties: stable/8/sbin/mount/ (props chan

svn commit: r205766 - stable/8/sbin/mount

2010-03-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Mar 27 17:57:17 2010 New Revision: 205766 URL: http://svn.freebsd.org/changeset/base/205766 Log: MFC r204840: As statfs.f_flags are uint64_t the local variables should be as well. We'll start noticing this with the next flag introduced as the lower 32bit are a

svn commit: r205765 - stable/8/sys/dev/fdc

2010-03-27 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Mar 27 17:56:45 2010 New Revision: 205765 URL: http://svn.freebsd.org/changeset/base/205765 Log: MFC r197945: Orphaning provider with EXDEV seems weird; perhaps the author meant ENXIO here? Modified: stable/8/sys/dev/fdc/fdc.c Directory Properties: stable/8/sy

svn commit: r205764 - stable/8/sys/kern

2010-03-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Mar 27 17:54:44 2010 New Revision: 205764 URL: http://svn.freebsd.org/changeset/base/205764 Log: MFC r205626: Print the pointer to the lock with the panic message. The previous panic: rw lock not unlocked was not really helpful for debugging. Now one can

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

2010-03-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Mar 27 17:52:56 2010 New Revision: 205763 URL: http://svn.freebsd.org/changeset/base/205763 Log: MFC r205276: Add ddb support to the "new" link layer code ("new-arp"): - show all lltables [1] (optional flag to also show the llentries as well) - show lltable

svn commit: r205762 - stable/8/sys/netinet

2010-03-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Mar 27 17:51:27 2010 New Revision: 205762 URL: http://svn.freebsd.org/changeset/base/205762 Log: MFC r205251: Add pcb reference counting to the pcblist sysctl handler functions to ensure type stability while caching the pcb pointers for the copyout. Rev

svn commit: r205761 - stable/8/sys/netinet

2010-03-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Mar 27 17:50:02 2010 New Revision: 205761 URL: http://svn.freebsd.org/changeset/base/205761 Log: MFC r204838: Destroy TCP UMA zones (empty or not) upon network stack teardown to not leak them, otherwise making UMA/vmstat unhappy with every stoped vnet. We

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

2010-03-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Mar 27 17:48:13 2010 New Revision: 205760 URL: http://svn.freebsd.org/changeset/base/205760 Log: MFC r204805: Rework reference counting in case we queue into the netisr, or overflow the netisr queue and fall back to the interface queue so that we can garuantee

svn commit: r205759 - stable/8/sys/netinet

2010-03-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Mar 27 17:46:06 2010 New Revision: 205759 URL: http://svn.freebsd.org/changeset/base/205759 Log: MFC r204807: Destroy UDP UMA zones (empty or not) upon network stack teardown to not leak them making UMA/vmstat -z unhappy with every stoped vnet. We will still l

svn commit: r205758 - stable/8/sys/kern

2010-03-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Mar 27 17:42:04 2010 New Revision: 205758 URL: http://svn.freebsd.org/changeset/base/205758 Log: MFC r204147: Set curvnet earlier so that it also covers calls to sodisconnect(), which before were possibly panicing the system in ULP code in the VIMAGE case.

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

2010-03-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Mar 27 17:40:28 2010 New Revision: 205757 URL: http://svn.freebsd.org/changeset/base/205757 Log: MFC r204279: Use the DB_SHOW_ALL_COMMAND() macro to register the formerly 'show ifnets' in the db_show_all_table as 'show all ifnets' and with that follow the conv

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

2010-03-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Mar 27 17:39:02 2010 New Revision: 205756 URL: http://svn.freebsd.org/changeset/base/205756 Log: MFC r204145: Start to implement ifnet DDB support: - 'show ifnets' prints a list of ifnet *s per virtual network stack, - 'show ifnet ' prints fields matching the

svn commit: r205755 - stable/8/sys/netinet

2010-03-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Mar 27 17:36:52 2010 New Revision: 205755 URL: http://svn.freebsd.org/changeset/base/205755 Log: MFC r204143: Upon virtual network stack teardown properly release the TCP syncache resources. Reviewed by: rwatson Modified: stable/8/sys/netinet/tcp_syncac

svn commit: r205754 - stable/8/sys/netinet

2010-03-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Mar 27 17:34:57 2010 New Revision: 205754 URL: http://svn.freebsd.org/changeset/base/205754 Log: MFC r204140: Split up ip_drain() into an outer lock and iterator part and a "locked" version that will only handle a single network stack instance. The latter is c

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

2010-03-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Mar 27 17:33:19 2010 New Revision: 205753 URL: http://svn.freebsd.org/changeset/base/205753 Log: MFC r204142: Enhance a panic string to contain more useful debugging information. Modified: stable/8/sys/net/if.c Directory Properties: stable/8/sys/ (props changed

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

2010-03-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Mar 27 17:31:54 2010 New Revision: 205752 URL: http://svn.freebsd.org/changeset/base/205752 Log: MFC r203729: Add DDB support for printing vnet_sysinit and vnet_sysuninit ordered call lists. Try to lookup function/symbol names and print those in addition to th

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

2010-03-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Mar 27 17:29:50 2010 New Revision: 205751 URL: http://svn.freebsd.org/changeset/base/205751 Log: MFC r203727: Add an SDT provider for "vnet"s along with probes for vnet_alloc and vnet_destroy. Use the line number rather than NULL as dummy argument. Note

svn commit: r205750 - stable/8/sys/netinet

2010-03-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Mar 27 17:26:31 2010 New Revision: 205750 URL: http://svn.freebsd.org/changeset/base/205750 Log: MFC r203724: Properly free resources when destroying the TCP hostcache while tearing down a network stack (in the VIMAGE jail+vnet case). For that break out the

svn commit: r205749 - stable/8/share/man/man9

2010-03-27 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Mar 27 17:25:17 2010 New Revision: 205749 URL: http://svn.freebsd.org/changeset/base/205749 Log: MFC r197780: Make fetch(9) and store(9) manual pages closer to reality. Modified: stable/8/share/man/man9/Makefile stable/8/share/man/man9/fetch.9 stable/8/share/m

svn commit: r205748 - in stable/8/sys: fs/fifofs kern sys

2010-03-27 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Mar 27 17:22:11 2010 New Revision: 205748 URL: http://svn.freebsd.org/changeset/base/205748 Log: MFC r197680: Provide default implementation for VOP_ACCESS(9), so that filesystems which want to provide VOP_ACCESSX(9) don't have to implement both. Note that this

svn commit: r205747 - stable/8

2010-03-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Mar 27 17:22:08 2010 New Revision: 205747 URL: http://svn.freebsd.org/changeset/base/205747 Log: MFC r201815: To avoid hardcoding further kernel configuration names for make universe, split the logic into two parts: - 1st to build worlds and generate kernel co

svn commit: r205746 - stable/8/sys/conf

2010-03-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Mar 27 17:17:11 2010 New Revision: 205746 URL: http://svn.freebsd.org/changeset/base/205746 Log: MFC r201814: Generate a second LINT configuration for i386 and amd64 in sys/conf/makeLINT.mk, which includes LINT and sets options VIMAGE so that we will have VIMA

svn commit: r205745 - in stable/8/sys: amd64/conf i386/conf ia64/conf pc98/conf powerpc/conf sparc64/conf sun4v/conf

2010-03-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Mar 27 17:14:55 2010 New Revision: 205745 URL: http://svn.freebsd.org/changeset/base/205745 Log: MFC r201813: In sys//conf/Makefile set TARGET to . That allows sys/conf/makeLINT.mk to only do certain things for certain architectures. Note that neither a

svn commit: r205744 - stable/8/sys/kern

2010-03-27 Thread Bjoern A. Zeeb
Author: bz Date: Sat Mar 27 17:11:06 2010 New Revision: 205744 URL: http://svn.freebsd.org/changeset/base/205744 Log: MFC r202123: Change DDB show prison: - name some columns more closely to the user space variables, as we do for host.* or allow.* (in the listing) already. -

svn commit: r205740 - stable/8/share/man/man9

2010-03-27 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Mar 27 16:41:23 2010 New Revision: 205740 URL: http://svn.freebsd.org/changeset/base/205740 Log: MFC r197405, missing part: Add pieces of infrastructure required for NFSv4 ACL support in UFS. Reviewed by: rwatson Added: stable/8/share/man/man9/vaccess_acl_nf

svn commit: r205739 - stable/8/sys/fs/nfs

2010-03-27 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Mar 27 16:35:25 2010 New Revision: 205739 URL: http://svn.freebsd.org/changeset/base/205739 Log: MFC r197650: Fix typo in the comment. Modified: stable/8/sys/fs/nfs/nfs_commonacl.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/includ

svn commit: r205738 - head/sbin/hastd

2010-03-27 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Mar 27 16:35:07 2010 New Revision: 205738 URL: http://svn.freebsd.org/changeset/base/205738 Log: Don't hold connection lock when doing reconnects as it makes I/Os wait for connection timeouts. Reported by: Kevin Day Modified: head/sbin/hastd/primary.c Modified:

svn commit: r205737 - in stable/8/sys: conf kern sys

2010-03-27 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Mar 27 16:31:49 2010 New Revision: 205737 URL: http://svn.freebsd.org/changeset/base/205737 Log: MFC r197405: Add pieces of infrastructure required for NFSv4 ACL support in UFS. Reviewed by: rwatson Modified: stable/8/sys/conf/files stable/8/sys/kern/subr_

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

2010-03-27 Thread Alexander Motin
Author: mav Date: Sat Mar 27 15:39:19 2010 New Revision: 205734 URL: http://svn.freebsd.org/changeset/base/205734 Log: Fix lock leakage. PR: kern/145081 Modified: head/sys/dev/sound/pcm/dsp.c Modified: head/sys/dev/sound/pcm/dsp.c ==

svn commit: r205733 - stable/8/sys/security/mac_lomac

2010-03-27 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Mar 27 15:05:06 2010 New Revision: 205733 URL: http://svn.freebsd.org/changeset/base/205733 Log: MFC r201438: Make mac_lomac(4) able to interpret NFSv4 access bits. Reviewed by: rwatson Modified: stable/8/sys/security/mac_lomac/mac_lomac.c Directory Properti

svn commit: r205732 - stable/8/sys/contrib/ngatm/netnatm/api

2010-03-27 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Mar 27 15:02:28 2010 New Revision: 205732 URL: http://svn.freebsd.org/changeset/base/205732 Log: MFC r201818: Fix array overflow. Reviewed by: philip Modified: stable/8/sys/contrib/ngatm/netnatm/api/cc_conn.c Directory Properties: stable/8/sys/ (props ch

svn commit: r205731 - stable/8/sys/amd64/ia32

2010-03-27 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Mar 27 14:58:28 2010 New Revision: 205731 URL: http://svn.freebsd.org/changeset/base/205731 Log: MFC r202919: Fix array overflow. This routine is only called from procfs, which is not mounted by default, and I've been unable to trigger a panic without this fix a

svn commit: r205730 - stable/8/sys/dev/md

2010-03-27 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Mar 27 14:43:40 2010 New Revision: 205730 URL: http://svn.freebsd.org/changeset/base/205730 Log: MFC r204408: Fix panic on invalid 'mdconfig -at preload' usage. PR: kern/80136 Modified: stable/8/sys/dev/md/md.c Directory Properties: stable/8/sys/

svn commit: r205729 - in head/contrib/bsnmp: gensnmpdef snmpd

2010-03-27 Thread Antoine Brodin
Author: antoine Date: Sat Mar 27 13:43:18 2010 New Revision: 205729 URL: http://svn.freebsd.org/changeset/base/205729 Log: (S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument. Fix some wrong usages. Note: this does not affect generated binaries as this argument is not used. App

Re: I486_CPU and I586_CPU removed from GENERIC kernel [was Re: svn commit: r205307 - head/sys/i386/conf]

2010-03-27 Thread Bernd Walter
On Fri, Mar 19, 2010 at 05:28:06PM +0100, Ivan Voras wrote: > On 19 March 2010 17:22, Valentin Nechayev wrote: > >  Fri, Mar 19, 2010 at 17:13:00, ivoras wrote about "Re: I486_CPU and > > I586_CPU removed from GENERIC kernel [was Re: svn commit: r205307 - > > head/sys/i386/conf]": > > > >> SSE i

svn commit: r205728 - head/lib/libusbhid

2010-03-27 Thread Kai Wang
Author: kaiw Date: Sat Mar 27 08:00:16 2010 New Revision: 205728 URL: http://svn.freebsd.org/changeset/base/205728 Log: Merge improvements from kernel HID parser to the userland usbhid(3) parser. This merge does not change any API and should not break any native or thirdparty applications.