svn commit: r194543 - head/sys/netatalk

2009-06-20 Thread Robert Watson
Author: rwatson Date: Sat Jun 20 17:28:38 2009 New Revision: 194543 URL: http://svn.freebsd.org/changeset/base/194543 Log: Don't lock sockets around calls to mac_socket_create_mbuf() -- policies are now expected to acquire the socket lock if they require them. Obtained from:

svn commit: r194544 - head/sys/netipx

2009-06-20 Thread Robert Watson
Author: rwatson Date: Sat Jun 20 17:42:53 2009 New Revision: 194544 URL: http://svn.freebsd.org/changeset/base/194544 Log: Invoke the MAC Framework's mac_socket_create_mbuf() entry point when generating IPX output for raw and datagram IPX sockets. Obtained from:TrustedBSD Project

svn commit: r194545 - head/sys/netipx

2009-06-20 Thread Robert Watson
Author: rwatson Date: Sat Jun 20 17:44:04 2009 New Revision: 194545 URL: http://svn.freebsd.org/changeset/base/194545 Log: Invoke the MAC Framework's mac_socket_create_mbuf() entry point when generating IPX output for SPX sockets. Obtained from:TrustedBSD Project Modified:

svn commit: r194546 - head/tools/regression/netipx/spxloopback

2009-06-20 Thread Robert Watson
Author: rwatson Date: Sat Jun 20 18:13:20 2009 New Revision: 194546 URL: http://svn.freebsd.org/changeset/base/194546 Log: Up the scale of the SPX loopback check a bit: use much larger data sizes so that we need to do segmentation. Modified:

svn commit: r194547 - head/sys/netipx

2009-06-20 Thread Robert Watson
Author: rwatson Date: Sat Jun 20 18:24:25 2009 New Revision: 194547 URL: http://svn.freebsd.org/changeset/base/194547 Log: Rework SPX segment reassembly, which was originally based on our TCP reassembly but failed to be modernized over time: - Use queue(9). - Specifically allocate

svn commit: r194549 - head/sys/sys

2009-06-20 Thread Robert Watson
Author: rwatson Date: Sat Jun 20 18:27:19 2009 New Revision: 194549 URL: http://svn.freebsd.org/changeset/base/194549 Log: Remove definition of dtom(), which converted a data pointer into a pointer to the containing mbuf. This eliminates a strong assumption about the layout of network

svn commit: r194555 - head/usr.sbin/getpmac

2009-06-20 Thread Robert Watson
Author: rwatson Date: Sat Jun 20 20:22:11 2009 New Revision: 194555 URL: http://svn.freebsd.org/changeset/base/194555 Log: If the label being printed by getpmac(8) is empty, then don't print a carriage return. Obtained from:TrustedBSD Project MFC after:3 days Modified:

svn commit: r194561 - head/sys/netipx

2009-06-20 Thread Robert Watson
Author: rwatson Date: Sat Jun 20 23:38:21 2009 New Revision: 194561 URL: http://svn.freebsd.org/changeset/base/194561 Log: Implement socket delivery MAC checks for IPX/SPX. Obtained from:TrustedBSD Project MFC after:3 days Modified: head/sys/netipx/ipx_usrreq.c

svn commit: r194580 - head/sys/netipx

2009-06-21 Thread Robert Watson
Author: rwatson Date: Sun Jun 21 10:10:44 2009 New Revision: 194580 URL: http://svn.freebsd.org/changeset/base/194580 Log: Remove historical support for capturing IPX packets in the output path using raw IPX sockets. While functional, this support is disabled using a flag that can't be

svn commit: r194590 - head/sys/netipx

2009-06-21 Thread Robert Watson
Author: rwatson Date: Sun Jun 21 16:11:26 2009 New Revision: 194590 URL: http://svn.freebsd.org/changeset/base/194590 Log: Update copyright on netipx. Modified: head/sys/netipx/README Modified: head/sys/netipx/README

svn commit: r194591 - head/sys/netipx

2009-06-21 Thread Robert Watson
Author: rwatson Date: Sun Jun 21 16:11:40 2009 New Revision: 194591 URL: http://svn.freebsd.org/changeset/base/194591 Log: Remove unuxed ipx_zerohost. MFC after:3 days Modified: head/sys/netipx/ipx_input.c head/sys/netipx/ipx_var.h Modified: head/sys/netipx/ipx_input.c

svn commit: r194602 - in head/sys: net netatalk netinet netinet6 netipx

2009-06-21 Thread Robert Watson
Author: rwatson Date: Sun Jun 21 19:30:33 2009 New Revision: 194602 URL: http://svn.freebsd.org/changeset/base/194602 Log: Clean up common ifaddr management: - Unify reference count and lock initialization in a single function, ifa_init(). - Move tear-down from a macro (IFAFREE) to a

svn commit: r194608 - head/sys/netipx

2009-06-21 Thread Robert Watson
Author: rwatson Date: Sun Jun 21 21:04:12 2009 New Revision: 194608 URL: http://svn.freebsd.org/changeset/base/194608 Log: Introduce basic locking of global IPX address list 'ipx_ifaddr' using a new rwlock, ipx_ifaddr_rw, wrapped with macros. This locking is necessary but not sufficient,

svn commit: r194610 - head/sys/netipx

2009-06-21 Thread Robert Watson
Author: rwatson Date: Sun Jun 21 21:42:29 2009 New Revision: 194610 URL: http://svn.freebsd.org/changeset/base/194610 Log: Add ipx_ifaddr locking to ipx_control(), which should close most remaining potential races in ifconfig's management of IPX addresses. This is largely accomplished by

svn commit: r194619 - head/sys/netatalk

2009-06-22 Thread Robert Watson
Author: rwatson Date: Mon Jun 22 10:23:54 2009 New Revision: 194619 URL: http://svn.freebsd.org/changeset/base/194619 Log: Add a global rwlock, at_ifaddr_rw, to protect the global netatalk address lists, at_ifaddr_list. Acquire the lock, and use ifaddr refcounts where necessary, to close

svn commit: r194622 - in head/sys: dev/cxgb/ulp/iw_cxgb net netinet netipx

2009-06-22 Thread Robert Watson
Author: rwatson Date: Mon Jun 22 10:59:34 2009 New Revision: 194622 URL: http://svn.freebsd.org/changeset/base/194622 Log: Add a new function, ifa_ifwithaddr_check(), which rather than returning a pointer to an ifaddr matching the passed socket address, returns a boolean indicating whether

Re: svn commit: r194672 - in head/sys: kern netinet sys

2009-06-23 Thread Robert Watson
On Mon, 22 Jun 2009, Andre Oppermann wrote: Add soreceive_stream(), an optimized version of soreceive() for stream (TCP) sockets. While this sounds like very interesting work, I was struck by the lack of: Reviewed by: ? Tested by:? Have you tested this change with some of our

Re: svn commit: r194672 - in head/sys: kern netinet sys

2009-06-23 Thread Robert Watson
On Tue, 23 Jun 2009, Andrew Gallatin wrote: This is consistent across runs. Lockstat output for 10 seconds in the middle of a run is very interesting and shows a huge reduction in lock contention. I continue to wonder if we should be deferring TCP reassembly to the user thread when

svn commit: r194760 - in head/sys: contrib/rdma net net80211 netinet netinet6 netipx

2009-06-23 Thread Robert Watson
Author: rwatson Date: Tue Jun 23 20:19:09 2009 New Revision: 194760 URL: http://svn.freebsd.org/changeset/base/194760 Log: Modify most routines returning 'struct ifaddr *' to return references rather than pointers, requiring callers to properly dispose of those references. The following

svn commit: r194812 - head/sys/net

2009-06-24 Thread Robert Watson
Author: rwatson Date: Wed Jun 24 08:52:09 2009 New Revision: 194812 URL: http://svn.freebsd.org/changeset/base/194812 Log: Make stf_getsrcifa6() return a reference to an in6_ifaddr rather than a pointer, and dispose of the references when no longer needed. MFC after:6 weeks

svn commit: r194813 - head/sys/net

2009-06-24 Thread Robert Watson
Author: rwatson Date: Wed Jun 24 08:53:23 2009 New Revision: 194813 URL: http://svn.freebsd.org/changeset/base/194813 Log: Lock if_addrhead when iterating, and where necessary acquire and release ifadr references in if_sppp. MFC after:6 weeks Modified: head/sys/net/if_spppsubr.c

svn commit: r194818 - head/sys/netatalk

2009-06-24 Thread Robert Watson
Author: rwatson Date: Wed Jun 24 10:28:30 2009 New Revision: 194818 URL: http://svn.freebsd.org/changeset/base/194818 Log: Reduce debugging output for netatalk routing events. MFC after:3 days Modified: head/sys/netatalk/at_rmx.c Modified: head/sys/netatalk/at_rmx.c

svn commit: r194819 - in head/sys: net netatalk

2009-06-24 Thread Robert Watson
Author: rwatson Date: Wed Jun 24 10:32:44 2009 New Revision: 194819 URL: http://svn.freebsd.org/changeset/base/194819 Log: Break at_ifawithnet() into two variants: - at_ifawithnet(), which acquires an locks it needs and returns an at_ifaddr reference. - at_ifawithnet_locked(), which

svn commit: r194820 - head/sys/netinet

2009-06-24 Thread Robert Watson
Author: rwatson Date: Wed Jun 24 10:33:35 2009 New Revision: 194820 URL: http://svn.freebsd.org/changeset/base/194820 Log: In ARP input, more consistently acquire and release ifaddr references. MFC after:6 weeks Modified: head/sys/netinet/if_ether.c Modified:

svn commit: r194821 - head/sys/net

2009-06-24 Thread Robert Watson
Author: rwatson Date: Wed Jun 24 10:36:48 2009 New Revision: 194821 URL: http://svn.freebsd.org/changeset/base/194821 Log: In if_setlladdr(), use IF_ADDR_LOCK() and ifaddr references to improve the safety of link layer address manipulation. MFC after:6 weeks Modified:

svn commit: r194822 - head/sys/netatalk

2009-06-24 Thread Robert Watson
Author: rwatson Date: Wed Jun 24 10:46:03 2009 New Revision: 194822 URL: http://svn.freebsd.org/changeset/base/194822 Log: Printf fewer warnings when adding a route to an atalk address fails; userspace will print the error. MFC after:3 days Modified: head/sys/netatalk/at_control.c

svn commit: r194828 - in head: share/man/man9 sys/kern sys/sys

2009-06-24 Thread Robert Watson
Author: rwatson Date: Wed Jun 24 12:06:15 2009 New Revision: 194828 URL: http://svn.freebsd.org/changeset/base/194828 Log: Add stack_print_short() and stack_print_short_ddb() interfaces to stack(9), which generate a more compact rendition of a stack trace via the kernel's printf. MFC

svn commit: r194835 - head/sys/netinet

2009-06-24 Thread Robert Watson
Author: rwatson Date: Wed Jun 24 14:29:40 2009 New Revision: 194835 URL: http://svn.freebsd.org/changeset/base/194835 Log: Clear 'ia' after iterating if_addrhead for unicast address matching: since 'ifa' was used as the TAILQ_FOREACH() iterator argument, and 'ia' was just derived form it,

svn commit: r194837 - head/sys/netinet

2009-06-24 Thread Robert Watson
Author: rwatson Date: Wed Jun 24 14:49:26 2009 New Revision: 194837 URL: http://svn.freebsd.org/changeset/base/194837 Log: Add missing unlock of if_addr_mtx when an unmatched ARP packet is received. Reported by: lstewart MFC after:6 weeks Modified: head/sys/netinet/if_ether.c

svn commit: r194857 - head/sys/netipx

2009-06-24 Thread Robert Watson
Author: rwatson Date: Wed Jun 24 16:52:23 2009 New Revision: 194857 URL: http://svn.freebsd.org/changeset/base/194857 Log: Rework locking and reference counting in ipx_control to be consistent with the model used in in_control(). MFC after:6 weeks Modified: head/sys/netipx/ipx.c

svn commit: r194895 - head/sys/sys

2009-06-24 Thread Robert Watson
Author: rwatson Date: Wed Jun 24 20:06:16 2009 New Revision: 194895 URL: http://svn.freebsd.org/changeset/base/194895 Log: Remove kernel SLIP and PPP privileges, since they are no longer used. Suggested by: bz Modified: head/sys/sys/priv.h Modified: head/sys/sys/priv.h

svn commit: r194907 - in head/sys: netinet netinet6 netipsec

2009-06-24 Thread Robert Watson
Author: rwatson Date: Wed Jun 24 21:00:25 2009 New Revision: 194907 URL: http://svn.freebsd.org/changeset/base/194907 Log: Convert netinet6 to using queue(9) rather than hand-crafted linked lists for the global IPv6 address list (in6_ifaddr - in6_ifaddrhead). Adopt the code styles and

svn commit: r194912 - head/sys/netinet

2009-06-24 Thread Robert Watson
Author: rwatson Date: Wed Jun 24 21:34:38 2009 New Revision: 194912 URL: http://svn.freebsd.org/changeset/base/194912 Log: Fix CARP build. Reported by: bz Modified: head/sys/netinet/ip_carp.c Modified: head/sys/netinet/ip_carp.c

svn commit: r194913 - head/sys/netatalk

2009-06-24 Thread Robert Watson
Author: rwatson Date: Wed Jun 24 21:36:09 2009 New Revision: 194913 URL: http://svn.freebsd.org/changeset/base/194913 Log: Use queue(9) instead of hand-crafted link lists for the global netatalk address list. Generally follow the style and convention of similar parts in netinet. MFC

svn commit: r194941 - head/sys/kern

2009-06-25 Thread Robert Watson
Author: rwatson Date: Thu Jun 25 07:16:10 2009 New Revision: 194941 URL: http://svn.freebsd.org/changeset/base/194941 Log: oshmctl() now requires a sysv_shm.c-local function prototype. Modified: head/sys/kern/sysv_shm.c Modified: head/sys/kern/sysv_shm.c

svn commit: r194942 - head/sys/i386/ibcs2

2009-06-25 Thread Robert Watson
Author: rwatson Date: Thu Jun 25 07:25:39 2009 New Revision: 194942 URL: http://svn.freebsd.org/changeset/base/194942 Log: Fix ibcs2_ipc.c build by adding missing limits.h include. Submitted by: keramida Modified: head/sys/i386/ibcs2/ibcs2_ipc.c Modified:

svn commit: r194943 - head/sys/netinet6

2009-06-25 Thread Robert Watson
Author: rwatson Date: Thu Jun 25 08:37:38 2009 New Revision: 194943 URL: http://svn.freebsd.org/changeset/base/194943 Log: Clean up reference management in in6_update_ifa and in6_unlink_ifa, and in particular, add a reference for in6_ifaddrhead since we do remove a reference for it when an

svn commit: r194951 - in head/sys: fs/nfsclient net netinet netipsec nfsclient

2009-06-25 Thread Robert Watson
Author: rwatson Date: Thu Jun 25 11:52:33 2009 New Revision: 194951 URL: http://svn.freebsd.org/changeset/base/194951 Log: Add a new global rwlock, in_ifaddr_lock, which will synchronize use of the in_ifaddrhead and INADDR_HASH address lists. Previously, these lists were used

svn commit: r194962 - head/sys/netinet

2009-06-25 Thread Robert Watson
Author: rwatson Date: Thu Jun 25 14:44:00 2009 New Revision: 194962 URL: http://svn.freebsd.org/changeset/base/194962 Log: Initialize in_ifaddr_lock using RW_SYSINIT() instead of in ip_init(), so that it doesn't run multiple times if VIMAGE is being used. Discussed with: bz MFC

svn commit: r195019 - head/sys/net

2009-06-25 Thread Robert Watson
Author: rwatson Date: Fri Jun 26 00:19:25 2009 New Revision: 195019 URL: http://svn.freebsd.org/changeset/base/195019 Log: Convert netisr to use dynamic per-CPU storage (DPCPU) instead of sizing arrays to [MAXCPU], offering moderate memory savings. In some places, this requires using

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

2009-06-26 Thread Robert Watson
On Fri, 26 Jun 2009, Doug Barton wrote: Reverse the effect of r193198 for pf and ipfw which will once again allow them to start after netif. There were too many problems reported with this change in the short period of time that it lived in HEAD, and we are too late in the release cycle to

svn commit: r195049 - in head/sys: arm/at91 arm/xscale/ixp425 dev/ae dev/age dev/alc dev/ale dev/ath dev/bce dev/bfe dev/bge dev/bm dev/cas dev/cs dev/dc dev/de dev/e1000 dev/ed dev/et dev/ex dev/f...

2009-06-26 Thread Robert Watson
Author: rwatson Date: Fri Jun 26 11:45:06 2009 New Revision: 195049 URL: http://svn.freebsd.org/changeset/base/195049 Log: Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ IF_ADDR_UNLOCK() across network device drivers when accessing the per-interface multicast address

svn commit: r195071 - head/sys/dev/cxgb

2009-06-26 Thread Robert Watson
Author: rwatson Date: Fri Jun 26 19:04:08 2009 New Revision: 195071 URL: http://svn.freebsd.org/changeset/base/195071 Log: Use if_maddr_rlock() instead of IF_ADDR_LOCK() to protect access to if_multiaddrs in if_cxgb. Approved by: re (kib) MFC after:6 weeks Modified:

svn commit: r195097 - head/sys/net

2009-06-27 Thread Robert Watson
Author: rwatson Date: Sat Jun 27 10:30:28 2009 New Revision: 195097 URL: http://svn.freebsd.org/changeset/base/195097 Log: Remove unnecessary include of kdb.h that snuck in during ifaddr refcount work. Reported by: pluknet pluknet at gmail.com Approved by: re (kib) Modified:

svn commit: r195102 - head/sys/netinet6

2009-06-27 Thread Robert Watson
Author: rwatson Date: Sat Jun 27 11:05:53 2009 New Revision: 195102 URL: http://svn.freebsd.org/changeset/base/195102 Log: In in6_update_ifa(), jump to 'cleanup' rather than returning directly in one additional case, avoiding an ifaddr reference leak. Defer releasing the in6_ifaddr's

svn commit: r195104 - in head/sys: amd64/amd64 compat/freebsd32 compat/linux i386/i386 kern nfs security/audit

2009-06-27 Thread Robert Watson
Author: rwatson Date: Sat Jun 27 13:58:44 2009 New Revision: 195104 URL: http://svn.freebsd.org/changeset/base/195104 Log: Replace AUDIT_ARG() with variable argument macros with a set more more specific macros for each audit argument type. This makes it easier to follow call-graphs,

svn commit: r195105 - head/sys/amd64/amd64

2009-06-27 Thread Robert Watson
Author: rwatson Date: Sat Jun 27 15:03:50 2009 New Revision: 195105 URL: http://svn.freebsd.org/changeset/base/195105 Log: Catch missed AUDIT_ARG() - AUDIT_ARG_CMD() on amd64. Submitted by: Florian Smeets flo at kasimir.com Approved by: re (kib) (implicit) MFC after:1 week

Re: svn commit: r194672 - in head/sys: kern netinet sys

2009-06-29 Thread Robert Watson
On Mon, 29 Jun 2009, Andre Oppermann wrote: It seems either the third if is redundant (because the condition of first if implies the condition of the third) or one of the conditions is wrong. Also there should be spaces around the |. Thank you for the report. I'm working on fixing and

svn commit: r195157 - head/sys/netinet6

2009-06-29 Thread Robert Watson
Author: rwatson Date: Mon Jun 29 15:23:50 2009 New Revision: 195157 URL: http://svn.freebsd.org/changeset/base/195157 Log: Fix options VIMAGE_GLOBALS build following introduction of in6_ifaddrhead. Approved by: re (kib) Modified: head/sys/netinet6/in6_var.h Modified:

Re: svn commit: r194628 - head/lib/ncurses/ncurses

2009-06-30 Thread Robert Watson
On Tue, 30 Jun 2009, M. Warner Losh wrote: Last time this BBQ came up, I thought it was agreed that there would be a xterm-XXX that didn't do this behavior for those folks that think the current behavior is harmfully wrong... Whereas I think it's a bug in more(1)/less(1) that it tries to use

Re: AW: svn commit: r195200 - in head/usr.sbin: . wake

2009-07-01 Thread Robert Watson
On Wed, 1 Jul 2009, Blapp, Martin wrote: I really was not my or Marcs intention to skip any discussions. Rwatson told us that if we like to see it in 8.0, we need to approve it by RE and commit it before the 1. of july, and that's what I've done. Sorry if I've upset anyone. Personally I

svn commit: r195242 - in head/sys: kern security/audit

2009-07-01 Thread Robert Watson
Author: rwatson Date: Wed Jul 1 15:37:23 2009 New Revision: 195242 URL: http://svn.freebsd.org/changeset/base/195242 Log: Audit the file descriptor number passed to lseek(2). Approved by: re (kib) MFC after:3 days Modified: head/sys/kern/vfs_syscalls.c

svn commit: r195247 - in head/sys: kern security/audit

2009-07-01 Thread Robert Watson
Author: rwatson Date: Wed Jul 1 16:56:56 2009 New Revision: 195247 URL: http://svn.freebsd.org/changeset/base/195247 Log: When auditing unmount(2), capture FSID arguments as regular text strings rather than as paths, which would lead to them being treated as relative pathnames and hence

svn commit: r195255 - head/sys/kern

2009-07-01 Thread Robert Watson
Author: rwatson Date: Wed Jul 1 19:55:11 2009 New Revision: 195255 URL: http://svn.freebsd.org/changeset/base/195255 Log: Audit file descriptor numbers for various socket-related system calls. Approved by: re (audit argument blanket) MFC after:3 days Modified:

svn commit: r195267 - in head/sys: kern security/audit

2009-07-01 Thread Robert Watson
Author: rwatson Date: Wed Jul 1 22:47:45 2009 New Revision: 195267 URL: http://svn.freebsd.org/changeset/base/195267 Log: For access(2) and eaccess(2), audit the requested access mode. Approved by: re (audit argument blanket) MFC after:3 days Modified:

svn commit: r195280 - in head/sys: kern security/audit

2009-07-02 Thread Robert Watson
Author: rwatson Date: Thu Jul 2 09:15:30 2009 New Revision: 195280 URL: http://svn.freebsd.org/changeset/base/195280 Log: Clean up a number of aspects of token generation from audit arguments to system calls: - Centralize generation of argument tokens for VM addresses in a macro,

svn commit: r195281 - head/sys/kern

2009-07-02 Thread Robert Watson
Author: rwatson Date: Thu Jul 2 09:16:25 2009 New Revision: 195281 URL: http://svn.freebsd.org/changeset/base/195281 Log: Audit file descriptor and command arguments to ioctl(2). Approved by: re (audit argument blanket) MFC after:1 week Modified: head/sys/kern/sys_generic.c

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

2009-07-02 Thread Robert Watson
Author: rwatson Date: Thu Jul 2 09:50:13 2009 New Revision: 195282 URL: http://svn.freebsd.org/changeset/base/195282 Log: Fix comment misthink. Submitted by: b. f. bf1783 at googlemail.com Approved by: re (audit argument blanket) MFC after:1 week Modified:

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

2009-07-02 Thread Robert Watson
Author: rwatson Date: Thu Jul 2 16:33:38 2009 New Revision: 195291 URL: http://svn.freebsd.org/changeset/base/195291 Log: Create audit records for AUE_POSIX_OPENPT, currently w/o arguments. Approved by: re (audit argument blanket) Modified: head/sys/security/audit/audit_bsm.c

svn commit: r195699 - in head: . sys/compat/linprocfs sys/compat/linux sys/compat/svr4 sys/conf sys/contrib/altq/altq sys/contrib/ipfilter/netinet sys/contrib/pf/net sys/contrib/rdma sys/ddb sys/de...

2009-07-14 Thread Robert Watson
Author: rwatson Date: Tue Jul 14 22:48:30 2009 New Revision: 195699 URL: http://svn.freebsd.org/changeset/base/195699 Log: Build on Jeff Roberson's linker-set based dynamic per-CPU allocator (DPCPU), as suggested by Peter Wemm, and implement a new per-virtual network stack memory allocator.

svn commit: r195705 - head/sys/net

2009-07-14 Thread Robert Watson
Author: rwatson Date: Wed Jul 15 00:56:15 2009 New Revision: 195705 URL: http://svn.freebsd.org/changeset/base/195705 Log: Add missing license line for vnet.h, correct white space nit. Approved by: re (kensmith) (implicit) Modified: head/sys/net/vnet.h Modified: head/sys/net/vnet.h

svn commit: r195707 - head/sys/kern

2009-07-15 Thread Robert Watson
Author: rwatson Date: Wed Jul 15 09:19:01 2009 New Revision: 195707 URL: http://svn.freebsd.org/changeset/base/195707 Log: r195699 introduced an assertion regarding when progbits data in kernel modules was present, which turns out to be false in some situations. Back out the assertion.

svn commit: r195727 - in head/sys: net netgraph netinet netinet/ipfw netinet6 netipsec

2009-07-16 Thread Robert Watson
Author: rwatson Date: Thu Jul 16 21:13:04 2009 New Revision: 195727 URL: http://svn.freebsd.org/changeset/base/195727 Log: Remove unused VNET_SET() and related macros; only VNET_GET() is ever actually used. Rename VNET_GET() to VNET() to shorten variable references. Discussed with:

svn commit: r195738 - in vendor/openbsm/dist: . etc libauditd libbsm man sys/bsm

2009-07-17 Thread Robert Watson
Author: rwatson Date: Fri Jul 17 12:18:39 2009 New Revision: 195738 URL: http://svn.freebsd.org/changeset/base/195738 Log: Vendor import of OpenBSM 1.1p1, which incorporates the following changes since the last imported OpenBSM release: OpenBSM 1.1p1 - Fixes to AUT_SOCKUNIX token

svn commit: r195739 - vendor/openbsm/1.1-P-1

2009-07-17 Thread Robert Watson
Author: rwatson Date: Fri Jul 17 12:36:29 2009 New Revision: 195739 URL: http://svn.freebsd.org/changeset/base/195739 Log: Tag OpenBSM 1.1p1 vendor import. Added: vendor/openbsm/1.1-P-1/ - copied from r195738, vendor/openbsm/dist/ ___

svn commit: r195740 - in head: contrib/openbsm contrib/openbsm/config contrib/openbsm/etc contrib/openbsm/libauditd contrib/openbsm/libbsm contrib/openbsm/man contrib/openbsm/sys/bsm sys/bsm sys/se...

2009-07-17 Thread Robert Watson
Author: rwatson Date: Fri Jul 17 14:02:20 2009 New Revision: 195740 URL: http://svn.freebsd.org/changeset/base/195740 Log: Import OpenBSM 1.1p1 from vendor branch to 8-CURRENT, populating contrib/openbsm and a subset also imported into sys/security/audit. This patch release addresses

svn commit: r195760 - in head/sys: kern net netgraph netinet netinet6 netipsec sys

2009-07-19 Thread Robert Watson
Author: rwatson Date: Sun Jul 19 14:20:53 2009 New Revision: 195760 URL: http://svn.freebsd.org/changeset/base/195760 Log: Reimplement and/or implement vnet list locking by replacing a mostly unused custom mutex/condvar-based sleep locks with two locks: an rwlock (for non-sleeping use) and

svn commit: r195761 - head/sys/sys

2009-07-19 Thread Robert Watson
Author: rwatson Date: Sun Jul 19 15:21:42 2009 New Revision: 195761 URL: http://svn.freebsd.org/changeset/base/195761 Log: Expose the definitions of 'struct vnet' and 'VNET_MAGIC_N' to userspace if _WANT_VNET is defined. This is required so that libkvm can locate virtual network stack

svn commit: r195769 - in head/sys: kern net sys

2009-07-19 Thread Robert Watson
Author: rwatson Date: Sun Jul 19 17:40:45 2009 New Revision: 195769 URL: http://svn.freebsd.org/changeset/base/195769 Log: Normalize field naming for struct vnet, fix two debugging printfs that print them. Reviewed by: bz Approved by: re (kensmith, kib) Modified:

svn commit: r195778 - in head/sys: kern net

2009-07-20 Thread Robert Watson
Author: rwatson Date: Mon Jul 20 07:50:50 2009 New Revision: 195778 URL: http://svn.freebsd.org/changeset/base/195778 Log: Add macros VNET_SETNAME and VNET_SYMPREFIX, and expose to userspace if _WANT_VNET is defined. This way we don't need separate definitions in libkvm. Reviewed by:

svn commit: r195782 - in head/sys: net netinet netinet6 netipsec

2009-07-20 Thread Robert Watson
Author: rwatson Date: Mon Jul 20 13:55:33 2009 New Revision: 195782 URL: http://svn.freebsd.org/changeset/base/195782 Log: Garbage collect vnet module registrations that have neither constructors nor destructors, as there's no actual work to do. In most cases, the constructors weren't

svn commit: r195788 - head/sys/netinet

2009-07-20 Thread Robert Watson
Author: rwatson Date: Mon Jul 20 19:40:09 2009 New Revision: 195788 URL: http://svn.freebsd.org/changeset/base/195788 Log: Back out the moving in r195782 of V_ip_id's initialization from the top back to the bottom of ip_init() as found in 7.x. I missed the fact that the bottom half of the

svn commit: r195837 - in head/sys: kern net netgraph netgraph/bluetooth/socket netinet netinet6 netipsec sys

2009-07-23 Thread Robert Watson
Author: rwatson Date: Thu Jul 23 20:46:49 2009 New Revision: 195837 URL: http://svn.freebsd.org/changeset/base/195837 Log: Introduce and use a sysinit-based initialization scheme for virtual network stacks, VNET_SYSINIT: - Add VNET_SYSINIT and VNET_SYSUNINIT macros to declare events that

Re: svn commit: r195839 - head/usr.bin/locate/locate

2009-07-24 Thread Robert Watson
On Fri, 24 Jul 2009, John Baldwin wrote: Move the check to ensure the locate database has the minimum required size when using mmap() before invoking mmap(). This avoids a confusing error message when locate is invoked against a zero-size database after the recent change to make mmap()

svn commit: r195925 - in head/sys: kern security/audit

2009-07-28 Thread Robert Watson
Author: rwatson Date: Tue Jul 28 21:39:58 2009 New Revision: 195925 URL: http://svn.freebsd.org/changeset/base/195925 Log: Audit file descriptors passed to fooat(2) system calls, which are used instead of the root/current working directory as the starting point for lookups. Up to two such

svn commit: r195926 - in head/sys: kern security/audit

2009-07-28 Thread Robert Watson
Author: rwatson Date: Tue Jul 28 21:52:24 2009 New Revision: 195926 URL: http://svn.freebsd.org/changeset/base/195926 Log: Rework vnode argument auditing to follow the same structure, in order to avoid exposing ARG_ macros/flag values outside of the audit code in order to name which one of

svn commit: r195927 - head/sys/net

2009-07-28 Thread Robert Watson
Author: rwatson Date: Tue Jul 28 22:17:34 2009 New Revision: 195927 URL: http://svn.freebsd.org/changeset/base/195927 Log: Revise header comments for vnet.h as we now implement VNET_SYSINIT, not just VNET_DEFINE in vnet.h. Approved by: re (vimage blanket) Modified:

Re: svn commit: r195918 - head/sys/netinet

2009-07-29 Thread Robert Watson
On Wed, 29 Jul 2009, Randall Stewart wrote: Instead of using additional argument to the sctp_add_to_readq() function, wouldn't it be sufficient to just check with mtx_owned(9) if the lock is already held? Hmm... I suppose one could go that way... but traditionally upper code as told the

svn commit: r195939 - in head/sys: kern security/audit

2009-07-29 Thread Robert Watson
Author: rwatson Date: Wed Jul 29 07:44:43 2009 New Revision: 195939 URL: http://svn.freebsd.org/changeset/base/195939 Log: Eliminate ARG_UPATH[12] arguments to AUDIT_ARG_UPATH() and instead provide specific macros, AUDIT_ARG_UPATH1() and AUDIT_ARG_UPATH2() to capture path information for

svn commit: r195970 - head/sys/sys

2009-07-30 Thread Robert Watson
Author: rwatson Date: Thu Jul 30 08:41:06 2009 New Revision: 195970 URL: http://svn.freebsd.org/changeset/base/195970 Log: Add two new privileges for use by OpenAFS, which will be supported for FreeBSD 8.x. MFC after:3 days Submitted by: Benjamin Kaduk kaduk at MIT.EDU Approved

svn commit: r195971 - head/usr.sbin/getpmac

2009-07-30 Thread Robert Watson
Author: rwatson Date: Thu Jul 30 09:51:04 2009 New Revision: 195971 URL: http://svn.freebsd.org/changeset/base/195971 Log: Style tweak. Approved by: re (kib) MFC after:3 days Modified: head/usr.sbin/getpmac/getpmac.c Modified: head/usr.sbin/getpmac/getpmac.c

svn commit: r195972 - head/sys/net

2009-07-30 Thread Robert Watson
Author: rwatson Date: Thu Jul 30 12:41:19 2009 New Revision: 195972 URL: http://svn.freebsd.org/changeset/base/195972 Log: Reorder and recomment vnet.c and vnet.h on the basis that they are no longer solely about the virtual network stack memory allocator. Approved by: re (vimage

svn commit: r196019 - in head: . lib/libkvm sys/arm/arm sys/compat/linprocfs sys/compat/linux sys/compat/svr4 sys/conf sys/contrib/altq/altq sys/contrib/ipfilter/netinet sys/contrib/pf/net sys/cont...

2009-08-01 Thread Robert Watson
Author: rwatson Date: Sat Aug 1 19:26:27 2009 New Revision: 196019 URL: http://svn.freebsd.org/changeset/base/196019 Log: Merge the remainder of kern_vimage.c and vimage.h into vnet.c and vnet.h, we now use jails (rather than vimages) as the abstraction for virtualization management, and

svn commit: r196020 - head/sys/net

2009-08-01 Thread Robert Watson
Author: rwatson Date: Sat Aug 1 20:24:45 2009 New Revision: 196020 URL: http://svn.freebsd.org/changeset/base/196020 Log: Remove vnet_foreach() utility function, which previously allowed vnet.c to iterate virtual network stacks without being aware of the implementation details previously

svn commit: r196024 - head/sys/net

2009-08-01 Thread Robert Watson
Author: rwatson Date: Sat Aug 1 21:54:15 2009 New Revision: 196024 URL: http://svn.freebsd.org/changeset/base/196024 Log: Make the vnet alloc/destroy paths a bit easier to followg by merging vnet_data_init/vnet_data_destroy into vnet_alloc/vnet_destroy. Reviewed by: bz, zec Approved

svn commit: r196025 - head/sys/net

2009-08-01 Thread Robert Watson
Author: rwatson Date: Sat Aug 1 21:58:32 2009 New Revision: 196025 URL: http://svn.freebsd.org/changeset/base/196025 Log: Minor style tweaks. Approved by: re (vimage blanket) Modified: head/sys/net/vnet.c Modified: head/sys/net/vnet.c

Re: svn commit: r195960 - in head/sys/dev/usb: . controller input

2009-08-01 Thread Robert Watson
On Sat, 1 Aug 2009, Hans Petter Selasky wrote: This has slowed down core dumps very significantly. What used to take 10-15s on my system now takes around 3 minutes. A simple test is to break into ddb and call doadump with or without this rev. I have a serial console on this machine and so

svn commit: r196026 - head/sys/net

2009-08-01 Thread Robert Watson
Author: rwatson Date: Sat Aug 1 22:22:45 2009 New Revision: 196026 URL: http://svn.freebsd.org/changeset/base/196026 Log: The colour was red as shall be the letters of this warning to people upon boot if the experimental VIMAGE feature was compiled into the kernel. Submitted by: bz

svn commit: r196027 - in vendor/openbsm/dist: . etc tools

2009-08-01 Thread Robert Watson
Author: rwatson Date: Sun Aug 2 00:19:36 2009 New Revision: 196027 URL: http://svn.freebsd.org/changeset/base/196027 Log: Vendor import of OpenBSM 1.1p2, which incorporates the following changes since the last imported OpenBSM release: OpenBSM 1.1p2 - Fix audit_event definitions of

svn commit: r196028 - vendor/openbsm/1.1-P-2

2009-08-01 Thread Robert Watson
Author: rwatson Date: Sun Aug 2 00:20:40 2009 New Revision: 196028 URL: http://svn.freebsd.org/changeset/base/196028 Log: Tag OpenBSM 1.1p2 vendor import. Added: vendor/openbsm/1.1-P-2/ - copied from r196027, vendor/openbsm/dist/ ___

svn commit: r196031 - in head/contrib/openbsm: . config etc tools

2009-08-02 Thread Robert Watson
Author: rwatson Date: Sun Aug 2 10:27:54 2009 New Revision: 196031 URL: http://svn.freebsd.org/changeset/base/196031 Log: Import OpenBSM 1.1p2 from vendor branch to 8-CURRENT. This patch release addresses several minor issues: - Fix audit_event definitions of AUE_OPENAT_RWT and

svn commit: r196039 - in head/sys: contrib/pf/net dev/cxgb/ulp/tom net netinet netinet6

2009-08-02 Thread Robert Watson
Author: rwatson Date: Sun Aug 2 19:43:32 2009 New Revision: 196039 URL: http://svn.freebsd.org/changeset/base/196039 Log: Many network stack subsystems use a single global data structure to hold all pertinent statatistics for the subsystem. These structures are sometimes borrowed by

svn commit: r196041 - head/sys/netinet

2009-08-02 Thread Robert Watson
Author: rwatson Date: Sun Aug 2 22:47:08 2009 New Revision: 196041 URL: http://svn.freebsd.org/changeset/base/196041 Log: Add padding to struct inpcb, missed during our padding sweep earlier in the release cycle. Approved by: re (kensmith) Modified: head/sys/netinet/in_pcb.h

Re: svn commit: r195960 - in head/sys/dev/usb: . controller input (regression patch)

2009-08-03 Thread Robert Watson
On Mon, 3 Aug 2009, Hans Petter Selasky wrote: Here is a patch to address the problem. Please test and report back. Works fine over here. http://perforce.freebsd.org/chv.cgi?CH=166957 MD5 (ukbd.c.diff) = 1e3c143942593b0ed4617d306a9d2ee2 cd /usr/src/sys/dev/usb/input/ cat ukbd.c.diff |

Re: svn commit: r195960 - in head/sys/dev/usb: . controller input (regression patch)

2009-08-03 Thread Robert Watson
On Mon, 3 Aug 2009, Hans Petter Selasky wrote: On Monday 03 August 2009 10:28:38 Ed Schouten wrote: * Robert Watson rwat...@freebsd.org wrote: I'm a bit surprised the timed key repeat in this patch would work properly in DDB, as microtime(9) relies on interrupts firing for updated timestamps

Re: svn commit: r196039 - in head/sys: contrib/pf/net dev/cxgb/ulp/tom net netinet netinet6

2009-08-04 Thread Robert Watson
On Tue, 4 Aug 2009, Bruce Simpson wrote: I didn't see any changes which directly touched ip_mroute in this rev. Can you clarify how this touches ip_mroute? It wasn't obvious from the diff. You're right, it was included in error. ip_mroute is on the list of modules that uses a stats

svn commit: r196120 - head/usr.bin/procstat

2009-08-12 Thread Robert Watson
Author: rwatson Date: Wed Aug 12 10:41:37 2009 New Revision: 196120 URL: http://svn.freebsd.org/changeset/base/196120 Log: Update procstat(1) for the fact that devfs paths are no longer unsupported. Approved by: re (kib) Modified: head/usr.bin/procstat/procstat.1 Modified:

svn commit: r196121 - head/sys/netatalk

2009-08-12 Thread Robert Watson
Author: rwatson Date: Wed Aug 12 10:44:13 2009 New Revision: 196121 URL: http://svn.freebsd.org/changeset/base/196121 Log: Reverse misordered unlock and lock in at_control for netatalk phase I addresses. Submitted by: Russell Cattelan cattelan at thebarn.com Approved by: re (kib)

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

2009-08-12 Thread Robert Watson
Author: rwatson Date: Wed Aug 12 10:45:45 2009 New Revision: 196122 URL: http://svn.freebsd.org/changeset/base/196122 Log: Correctly audit real gids following changes to the audit record argument interface. Approved by: re (kib) Modified: head/sys/security/audit/audit.h Modified:

svn commit: r196123 - head/lib/libc/posix1e

2009-08-12 Thread Robert Watson
Author: rwatson Date: Wed Aug 12 10:46:48 2009 New Revision: 196123 URL: http://svn.freebsd.org/changeset/base/196123 Log: Update posix1e-related man pages, especially as relates to MAC, to more accurately reflect the last ten years of work. Approved by: re (kib) Modified:

  1   2   3   4   5   6   7   8   9   10   >