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

2010-09-18 Thread Robert Watson
Author: rwatson Date: Sat Sep 18 11:18:42 2010 New Revision: 212822 URL: http://svn.freebsd.org/changeset/base/212822 Log: With reworking of the socket life cycle in 7.x, the need for a "sotryfree()" was eliminated: all references to sockets are explicitly managed by sorele() and the protoco

svn commit: r213512 - svnadmin/conf

2010-10-07 Thread Robert Watson
Author: rwatson Date: Thu Oct 7 12:34:54 2010 New Revision: 213512 URL: http://svn.freebsd.org/changeset/base/213512 Log: Add Jonathan Anderson as a src committer. Jon has been working on a number of things, not least Capsicum. I will be his mentor. Approved by: core Modified: svn

Re: svn commit: r213642 - in head/sys: kern sys

2010-10-09 Thread Robert Watson
On Sat, 9 Oct 2010, David Xu wrote: Create a global thread hash table to speed up thread lookup, use rwlock to protect the table. In old code, thread lookup is done with process lock held, to find a thread, kernel has to iterate through process and thread list, this is quite inefficient. Wi

svn commit: r214135 - head/tools/tools/syscall_timing

2010-10-21 Thread Robert Watson
Author: rwatson Date: Thu Oct 21 16:08:31 2010 New Revision: 214135 URL: http://svn.freebsd.org/changeset/base/214135 Log: Improve the structure and implementation of the syscall_timing microbenchmark suite: - Use common benchmark_start/benchmark_stop routines to simplify individual b

svn commit: r214142 - head/tools/tools/syscall_timing

2010-10-21 Thread Robert Watson
Author: rwatson Date: Thu Oct 21 17:27:39 2010 New Revision: 214142 URL: http://svn.freebsd.org/changeset/base/214142 Log: Further enhancements to syscall_timing: - Use getopt rather than hand-parsed arguments - Allow iterations to be specified and/or a new number of seconds bound on

svn commit: r214145 - head/tools/tools/syscall_timing

2010-10-21 Thread Robert Watson
Author: rwatson Date: Thu Oct 21 17:35:08 2010 New Revision: 214145 URL: http://svn.freebsd.org/changeset/base/214145 Log: Fix bug in recent syscall_timing change: measure the number of iterations each loop, rather than once up front. The distinction is unimportant when doing a fix iteratio

svn commit: r214151 - head/tools/tools/syscall_timing

2010-10-21 Thread Robert Watson
Author: rwatson Date: Thu Oct 21 19:01:59 2010 New Revision: 214151 URL: http://svn.freebsd.org/changeset/base/214151 Log: Further syscall_timing improvements: allow an arbitrary "path" string argument to be passed on the command line, allowing file-related tests to be pointed at wherever de

svn commit: r214154 - head/tools/tools/syscall_timing

2010-10-21 Thread Robert Watson
Author: rwatson Date: Thu Oct 21 19:03:24 2010 New Revision: 214154 URL: http://svn.freebsd.org/changeset/base/214154 Log: Add Cambridge/Google tag since the copyright has been updated. MFC after:2 weeks Modified: head/tools/tools/syscall_timing/syscall_timing.c Modified: head/tools

svn commit: r214185 - head/tools/tools/syscall_timing

2010-10-21 Thread Robert Watson
Author: rwatson Date: Thu Oct 21 21:08:12 2010 New Revision: 214185 URL: http://svn.freebsd.org/changeset/base/214185 Log: Universally use uintmax_t in syscall_timing; rearrange arithmetic to suffer fewer rounding errors with smaller numbers; fix argc validation so multiple tests run on a si

svn commit: r214202 - head/tools/tools/syscall_timing

2010-10-22 Thread Robert Watson
Author: rwatson Date: Fri Oct 22 11:22:19 2010 New Revision: 214202 URL: http://svn.freebsd.org/changeset/base/214202 Log: Validate syscall_timing test names before starting to provide earlier feedback regarding user error. Provide default loop and timing settings. Add a new test tha

Re: svn commit: r214199 - stable/8

2010-10-23 Thread Robert Watson
On Fri, 22 Oct 2010, Andriy Gapon wrote: +20101022: + A workaround for a fixed ld bug has been removed in kernel code, + so make sure that your system ld is built from sources after + revision 211583 (r210245 if building stable/8 kernel on head, + r211584 for stable/7).

svn commit: r214249 - head/sys/security/mac

2010-10-23 Thread Robert Watson
Author: rwatson Date: Sat Oct 23 16:59:39 2010 New Revision: 214249 URL: http://svn.freebsd.org/changeset/base/214249 Log: Add missing DTrace probe invocation to mac_vnode_check_open; the probe was declared, but never used. MFC after:3 days Sponsored by: Google, Inc. Modified: he

svn commit: r214261 - head/tools/tools/syscall_timing

2010-10-24 Thread Robert Watson
Author: rwatson Date: Sun Oct 24 09:14:21 2010 New Revision: 214261 URL: http://svn.freebsd.org/changeset/base/214261 Log: Add microbenchmark for create/unlink of a zero-byte file. Sponsored by: Google, Inc. MFC after:2 weeks Modified: head/tools/tools/syscall_timing/syscall_timing

Re: svn commit: r214338 - in stable/8/sys: netinet netinet6

2010-10-26 Thread Robert Watson
On Mon, 25 Oct 2010, Attilio Rao wrote: IP_BINDANY is not correctly handled in getsockopt() case. Fix it by specifying the correct bits. It would be nice if we had regression tests to validate this sort of thing; I think we already have something in the area of socket options, but it doesn

Re: svn commit: r214409 - head/sys/kern

2010-10-27 Thread Robert Watson
On Wed, 27 Oct 2010, David Xu wrote: I really hate to see such a problem that userland can not figure out what kernel is using, I try hardly to guess, but still can not find what it is using. yes, I think the doc may need to be fixed or another syscall is needed. Well... Jeff's code in

Re: svn commit: r214431 - head/bin/rm

2010-10-28 Thread Robert Watson
On Thu, 28 Oct 2010, Gary Jennejohn wrote: The -P option assumes that the underlying storage overwrites file block when data is written on existing offset. Several factors including the file system and its backing store could defeat the assumption, this includes, but is not limited to file sy

Re: svn commit: r214431 - head/bin/rm

2010-10-28 Thread Robert Watson
On Thu, 28 Oct 2010, Alexander Best wrote: For example, you could imagine a pathconf() call that asks the file system if overwriting a file is likely to result in the data going away -- UFS could answer "yes" unless it's snapshotting the file system, and ZFS could simply answer "no". In Fre

Re: svn commit: r214431 - head/bin/rm

2010-10-29 Thread Robert Watson
On Fri, 29 Oct 2010, Bruce Cran wrote: On Thu, 28 Oct 2010 14:11:14 -0700 Garrett Cooper wrote: Unfortunately it's implied superficially by the 3 pass tort; but as most people who understand magnetic disks know, unless you completely obliterate a disk, wipe over it with random data enough t

svn commit: r228039 - head/share/man/man4

2011-11-27 Thread Robert Watson
hmod 2 , +.Xr open 2 , +.Xr pdfork 2 , +.Xr pdgetpid 2 , +.Xr pdkill 2 , +.Xr pdwait4 2 , +.Xr read 2 , +.Xr shm_open 2 , +.Xr write 2 +.Sh HISTORY +.Nm +first appeared in +.Fx 9.0 , +and was developed at the University of Cambridge. +.Sh AUTHORS +.Nm +was developed by +.An -nosplit +.An "Robert

svn commit: r228040 - head/lib/libc/sys

2011-11-27 Thread Robert Watson
Author: rwatson Date: Sun Nov 27 19:45:41 2011 New Revision: 228040 URL: http://svn.freebsd.org/changeset/base/228040 Log: Cross-reference capsicum.4 from cap_enter.2 and cap_new.2. MFC after:3 days Sponsored by: Google, Inc. Modified: head/lib/libc/sys/cap_enter.2 head/lib/libc/

svn commit: r228057 - head/cddl/lib/drti

2011-11-28 Thread Robert Watson
Author: rwatson Date: Mon Nov 28 10:01:36 2011 New Revision: 228057 URL: http://svn.freebsd.org/changeset/base/228057 Log: Change the Makefile in cddl/lib/drti to use bsd.lib.mk instead of bsd.prog.mk -- we need to compile PIC, which requires a library build. With this change, USDT (userspac

svn commit: r228069 - stable/9/share/man/man4

2011-11-28 Thread Robert Watson
, +.Xr pdfork 2 , +.Xr pdgetpid 2 , +.Xr pdkill 2 , +.Xr pdwait4 2 , +.Xr read 2 , +.Xr shm_open 2 , +.Xr write 2 +.Sh HISTORY +.Nm +first appeared in +.Fx 9.0 , +and was developed at the University of Cambridge. +.Sh AUTHORS +.Nm +was developed by +.An -nosplit +.An "Robert Watso

svn commit: r228070 - stable/9/lib/libc/sys

2011-11-28 Thread Robert Watson
Author: rwatson Date: Mon Nov 28 14:39:56 2011 New Revision: 228070 URL: http://svn.freebsd.org/changeset/base/228070 Log: Merge r228040 from head to stable/9: Cross-reference capsicum.4 from cap_enter.2 and cap_new.2. Sponsored by: Google, Inc. Approved by: re (kib) M

svn commit: r228073 - stable/9/cddl/lib/drti

2011-11-28 Thread Robert Watson
Author: rwatson Date: Mon Nov 28 15:09:31 2011 New Revision: 228073 URL: http://svn.freebsd.org/changeset/base/228073 Log: Merge r228057 from head to stable/9: Change the Makefile in cddl/lib/drti to use bsd.lib.mk instead of bsd.prog.mk -- we need to compile PIC, which requires a lib

Re: svn commit: r228073 - stable/9/cddl/lib/drti

2011-11-28 Thread Robert Watson
On Mon, 28 Nov 2011, Joel Dahl wrote: Log: Merge r228057 from head to stable/9: Change the Makefile in cddl/lib/drti to use bsd.lib.mk instead of bsd.prog.mk -- we need to compile PIC, which requires a library build. With this change, USDT (userspace DTrace probes) work from withi

svn commit: r228105 - releng/9.0/share/man/man4

2011-11-28 Thread Robert Watson
hmod 2 , +.Xr open 2 , +.Xr pdfork 2 , +.Xr pdgetpid 2 , +.Xr pdkill 2 , +.Xr pdwait4 2 , +.Xr read 2 , +.Xr shm_open 2 , +.Xr write 2 +.Sh HISTORY +.Nm +first appeared in +.Fx 9.0 , +and was developed at the University of Cambridge. +.Sh AUTHORS +.Nm +was developed by +.An -nosplit +.An "Robert Wat

svn commit: r228106 - releng/9.0/lib/libc/sys

2011-11-28 Thread Robert Watson
Author: rwatson Date: Mon Nov 28 22:24:22 2011 New Revision: 228106 URL: http://svn.freebsd.org/changeset/base/228106 Log: Merge r228040 from head to releng/9.0: Cross-reference capsicum.4 from cap_enter.2 and cap_new.2. Sponsored by: Google, Inc. Approved by: re (kib) Mod

svn commit: r228107 - releng/9.0/cddl/lib/drti

2011-11-28 Thread Robert Watson
Author: rwatson Date: Mon Nov 28 22:30:19 2011 New Revision: 228107 URL: http://svn.freebsd.org/changeset/base/228107 Log: Merge r228057 from head to releng/9.0: Change the Makefile in cddl/lib/drti to use bsd.lib.mk instead of bsd.prog.mk -- we need to compile PIC, which requires a l

svn commit: r228956 - head/tools/tools/netrate/tcpp

2011-12-29 Thread Robert Watson
Author: rwatson Date: Thu Dec 29 15:34:59 2011 New Revision: 228956 URL: http://svn.freebsd.org/changeset/base/228956 Log: Fix typo in comment. MFC after:3 days Modified: head/tools/tools/netrate/tcpp/tcpp_client.c Modified: head/tools/tools/netrate/tcpp/tcpp_client.c ==

svn commit: r228973 - in head/sys: amd64/conf i386/conf ia64/conf pc98/conf powerpc/conf sparc64/conf

2011-12-29 Thread Robert Watson
Author: rwatson Date: Thu Dec 29 22:48:36 2011 New Revision: 228973 URL: http://svn.freebsd.org/changeset/base/228973 Log: Add "options CAPABILITY_MODE" and "options CAPABILITIES" to GENERIC kernel configurations for various architectures in FreeBSD 10.x. This allows basic Capsicum function

svn commit: r228989 - head/lib

2011-12-30 Thread Robert Watson
Author: rwatson Date: Fri Dec 30 10:45:00 2011 New Revision: 228989 URL: http://svn.freebsd.org/changeset/base/228989 Log: Fix typo in Makefile comment. MFC after:3 days Modified: head/lib/Makefile Modified: head/lib/Makefile =

svn commit: r229319 - in head: share/man/man5 share/mk tools/build/options

2012-01-02 Thread Robert Watson
Author: rwatson Date: Mon Jan 2 21:57:58 2012 New Revision: 229319 URL: http://svn.freebsd.org/changeset/base/229319 Log: Add WITHOUT_CAPSICUM src.conf(5) define, which can be used to compile out use of Capsicum by userspace applications. MFC after:3 weeks Sponsored by: Google, Inc

svn commit: r216365 - head/sys/amd64/conf

2010-12-10 Thread Robert Watson
Author: rwatson Date: Fri Dec 10 22:22:01 2010 New Revision: 216365 URL: http://svn.freebsd.org/changeset/base/216365 Log: Derive the XENHVM kernel from GENERIC, adding only the options required to support PV drivers (such as xenpci), and non-adptive locking (along with a comment about why).

svn commit: r216405 - head/sys/amd64/conf

2010-12-13 Thread Robert Watson
Author: rwatson Date: Mon Dec 13 12:15:46 2010 New Revision: 216405 URL: http://svn.freebsd.org/changeset/base/216405 Log: Add options NO_ADAPTIVE_SX to the XENHVM kernel configuration, matching its similar disabling of adaptive mutexes and rwlocks. The existing comment on why this is the c

svn commit: r216406 - stable/8/sys/amd64/conf

2010-12-13 Thread Robert Watson
Author: rwatson Date: Mon Dec 13 12:34:35 2010 New Revision: 216406 URL: http://svn.freebsd.org/changeset/base/216406 Log: Merge r216365 from head to stable/8: Derive the XENHVM kernel from GENERIC, adding only the options required to support PV drivers (such as xenpci), and non-adpti

svn commit: r216419 - head/share/man/man4

2010-12-13 Thread Robert Watson
Author: rwatson Date: Mon Dec 13 23:26:31 2010 New Revision: 216419 URL: http://svn.freebsd.org/changeset/base/216419 Log: Add a rudimentary Xen man page summarising the state of Xen on amd64 and i386, how to configure the kernel, and some known issues. Further refinement almost certainly r

svn commit: r216420 - head/share/man/man4

2010-12-13 Thread Robert Watson
Mac Aq km...@freebsd.org +and +.An Doug Rabson Aq d...@freebsd.org . +Further refinements were made by +.An Justin Gibbs Aq gi...@freebsd.org , +.An Adrian Chadd Aq adr...@freebsd.org , +and +.An Colin Percival Aq cperc...@freebsd.org . +This manual page was written by +.An Robert Watson Aq

svn commit: r216428 - head/share/man/man4

2010-12-14 Thread Robert Watson
Author: rwatson Date: Tue Dec 14 09:32:37 2010 New Revision: 216428 URL: http://svn.freebsd.org/changeset/base/216428 Log: Further refinements to the xen.4 man page: fix typos, add material on para-virtualized drivers, clarify how to configure XENHVM on amd64. MFC after:3 days Modifi

svn commit: r216429 - head/share/man/man4

2010-12-14 Thread Robert Watson
Author: rwatson Date: Tue Dec 14 10:06:28 2010 New Revision: 216429 URL: http://svn.freebsd.org/changeset/base/216429 Log: Slightly different formatting for options list. MFC after:3 days Modified: head/share/man/man4/xen.4 Modified: head/share/man/man4/xen.4 ===

Re: svn commit: r216473 - head/sbin/geom/class/eli

2010-12-16 Thread Robert Watson
On Thu, 16 Dec 2010, David O'Brien wrote: Log: Bump WARNS to 6. Modified: head/sbin/geom/class/eli/Makefile FYI, this broke the tinderbox on arm, ia64, mips, and sparc64. Errr. Reverted. I built it on the architectures I had access to... For WARNS-related changes, I generally use "m

svn commit: r216497 - head/share/man/man4

2010-12-16 Thread Robert Watson
Author: rwatson Date: Fri Dec 17 01:30:56 2010 New Revision: 216497 URL: http://svn.freebsd.org/changeset/base/216497 Log: Clarifications of a number of points in xen.4, and some additional device driver information from gi...@. MFC after:3 days Modified: head/share/man/man4/xen.4

svn commit: r216500 - head/share/man/man4

2010-12-17 Thread Robert Watson
Author: rwatson Date: Fri Dec 17 10:05:21 2010 New Revision: 216500 URL: http://svn.freebsd.org/changeset/base/216500 Log: Fix spelling nits. MFC after:3 days Submitted by: bcr Modified: head/share/man/man4/xen.4 Modified: head/share/man/man4/xen.4

svn commit: r216501 - head/share/man/man4

2010-12-17 Thread Robert Watson
Author: rwatson Date: Fri Dec 17 11:25:37 2010 New Revision: 216501 URL: http://svn.freebsd.org/changeset/base/216501 Log: Correct some misundertandings on my part about PV vs HVM kernel configuration options. MFC after:1 day Modified: head/share/man/man4/xen.4 Modified: head/shar

svn commit: r216509 - head/share/man/man4

2010-12-17 Thread Robert Watson
Author: rwatson Date: Fri Dec 17 22:09:55 2010 New Revision: 216509 URL: http://svn.freebsd.org/changeset/base/216509 Log: Simply refer to all Xen drivers as para-virtualized, as this appears to be the preferred Xen parlance. Discussed with: Steve Hand MFC after:1 day Modifi

svn commit: r216545 - stable/8/share/man/man4

2010-12-18 Thread Robert Watson
Author: rwatson Date: Sat Dec 18 23:03:01 2010 New Revision: 216545 URL: http://svn.freebsd.org/changeset/base/216545 Log: Merge xen.4 man page from head to stable/8; revs r216419, r216420, r216428, r216429, r216497, r216500, r216501, r216509. Approved by: re (kib) Sponsored by: DARPA,

svn commit: r196481 - in head/sys: compat/linux contrib/altq/altq kern net netgraph netinet netinet6 netipsec nfsclient

2009-08-23 Thread Robert Watson
Author: rwatson Date: Sun Aug 23 20:40:19 2009 New Revision: 196481 URL: http://svn.freebsd.org/changeset/base/196481 Log: Rework global locks for interface list and index management, correcting several critical bugs, including race conditions and lock order issues: Replace the single rwl

svn commit: r196482 - head/sys/net

2009-08-23 Thread Robert Watson
Author: rwatson Date: Sun Aug 23 21:00:21 2009 New Revision: 196482 URL: http://svn.freebsd.org/changeset/base/196482 Log: Rather than using IFNET_RLOCK() when iterating over (and modifying) the ifnet list during if_ef load, directly acquire the ifnet_sxlock exclusively. That way when if_al

svn commit: r196510 - head/sys/net

2009-08-24 Thread Robert Watson
Author: rwatson Date: Mon Aug 24 12:52:05 2009 New Revision: 196510 URL: http://svn.freebsd.org/changeset/base/196510 Log: Make if_grow static -- it's not used outside of if.c, and with the internals destined to change, it's better if it remains that way. MFC after:3 days Modified:

svn commit: r196535 - in head/sys: net netinet netinet6

2009-08-25 Thread Robert Watson
Author: rwatson Date: Tue Aug 25 09:52:38 2009 New Revision: 196535 URL: http://svn.freebsd.org/changeset/base/196535 Log: Use locks specific to the lltable code, rather than borrow the ifnet list/index locks, to protect link layer address tables. This avoids lock order issues during interf

svn commit: r196553 - head/sys/net

2009-08-25 Thread Robert Watson
Author: rwatson Date: Tue Aug 25 20:21:16 2009 New Revision: 196553 URL: http://svn.freebsd.org/changeset/base/196553 Log: Break out allocation of new ifindex values from if_alloc() and if_vmove(), and centralize in a single function ifindex_alloc(). Assert the IFNET_WLOCK, and add missing

svn commit: r196559 - head/sys/net

2009-08-26 Thread Robert Watson
Author: rwatson Date: Wed Aug 26 11:13:10 2009 New Revision: 196559 URL: http://svn.freebsd.org/changeset/base/196559 Log: Add IFNET_HOLD reserved pointer value for the ifindex ifnet array, which allows an index to be reserved for an ifnet without making the ifnet available for management op

svn commit: r196626 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris compat/linux contrib/altq/altq contrib/dev/acpica contrib/pf dev/xen/xenpci kern net netgraph netinet netinet6 ne...

2009-08-28 Thread Robert Watson
Author: rwatson Date: Fri Aug 28 20:06:02 2009 New Revision: 196626 URL: http://svn.freebsd.org/changeset/base/196626 Log: Merge r196481 from head to stable/8: Rework global locks for interface list and index management, correcting several critical bugs, including race conditions and

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

2009-08-28 Thread Robert Watson
Author: rwatson Date: Fri Aug 28 20:07:38 2009 New Revision: 196627 URL: http://svn.freebsd.org/changeset/base/196627 Log: Merge r196482 from head to stable/8: Rather than using IFNET_RLOCK() when iterating over (and modifying) the ifnet list during if_ef load, directly acquire the if

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

2009-08-28 Thread Robert Watson
Author: rwatson Date: Fri Aug 28 21:07:43 2009 New Revision: 196629 URL: http://svn.freebsd.org/changeset/base/196629 Log: Merge r196510 from head to stable/8: Make if_grow static -- it's not used outside of if.c, and with the internals destined to change, it's better if it remains th

svn commit: r196630 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci net netinet netinet6

2009-08-28 Thread Robert Watson
Author: rwatson Date: Fri Aug 28 21:10:26 2009 New Revision: 196630 URL: http://svn.freebsd.org/changeset/base/196630 Log: Merge r196535 from head to stable/8: Use locks specific to the lltable code, rather than borrow the ifnet list/index locks, to protect link layer address tables.

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

2009-08-28 Thread Robert Watson
Author: rwatson Date: Fri Aug 28 21:12:38 2009 New Revision: 196631 URL: http://svn.freebsd.org/changeset/base/196631 Log: Merge r196553 from head to stable/8: Break out allocation of new ifindex values from if_alloc() and if_vmove(), and centralize in a single function ifindex_alloc(

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

2009-08-28 Thread Robert Watson
Author: rwatson Date: Fri Aug 28 21:14:04 2009 New Revision: 196632 URL: http://svn.freebsd.org/changeset/base/196632 Log: Merge r196559 from head to stable/8: Add IFNET_HOLD reserved pointer value for the ifindex ifnet array, which allows an index to be reserved for an ifnet without

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

2009-08-31 Thread Robert Watson
On Sun, 30 Aug 2009, Qing Li wrote: In ip_output(), the flow-table module must not try to cache L2/L3 information for interface of IFF_POINTOPOINT or IFF_LOOPBACK type. Since the L2 information (rt_lle) is invalid for these interface types, accidental caching attempt will trigger panic when

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

2009-08-31 Thread Robert Watson
University of Cambridge On Mon, 31 Aug 2009, Qing Li wrote: As part of r196609, a call to "rtalloc" did not take the fib into account. So call the appropriate "rtalloc_ign_fib()" instead of calling "rtalloc_ign()". Reviewed by: pointed out by bz Approved by: re I don't have this in

Re: svn commit: r196797 - in head: sys/net sys/netinet usr.bin/netstat

2009-09-04 Thread Robert Watson
On Fri, 4 Sep 2009, Bruce Simpson wrote: George V. Neville-Neil wrote: Author: gnn Date: Thu Sep 3 21:10:57 2009 New Revision: 196797 URL: http://svn.freebsd.org/changeset/base/196797 Log: Add ARP statistics to the kernel and netstat. Thanks very much for this change. Any chance this stru

Re: svn commit: r197065 - in stable/8: etc/defaults lib/libc/stdlib sys/amd64/conf sys/i386/conf sys/ia64/conf sys/pc98/conf sys/powerpc/conf sys/sparc64/conf

2009-09-10 Thread Robert Watson
On Thu, 10 Sep 2009, John Baldwin wrote: It has been pointed out to me on the mailing lists that leaving it on for stable/7 was an oversight, it is off on previous branches. I can understand the motivation for it. In a data center full of production machines crash dumps cause reboots to tak

Re: svn commit: r197065 - in stable/8: etc/defaults lib/libc/stdlib sys/amd64/conf sys/i386/conf sys/ia64/conf sys/pc98/conf sys/powerpc/conf sys/sparc64/conf

2009-09-10 Thread Robert Watson
On Thu, 10 Sep 2009, Remko Lodder wrote: I agree with that; it would (!) help the bugbusting team in gathering required information. If there is an way to automate crashdumps and proper reporting and stick that in /var/crash/crash.$date or something and tell people that they can report their

svn commit: r197134 - in head/sys: cam/scsi fs/fifofs i386/acpica kern net

2009-09-12 Thread Robert Watson
Author: rwatson Date: Sat Sep 12 20:03:45 2009 New Revision: 197134 URL: http://svn.freebsd.org/changeset/base/197134 Log: Use C99 initialization for struct filterops. Obtained from:Mac OS X Sponsored by: Apple Inc. MFC after:3 weeks Modified: head/sys/cam/scsi/scsi_targe

Re: svn commit: r197391 - head/sys/dev/mxge

2009-09-22 Thread Robert Watson
On Mon, 21 Sep 2009, Andrew Gallatin wrote: Add support for throttling transmit bandwidth. This is most commonly used to reduce packet loss on high delay (WAN) paths with a slow link. Hi Drew-- Could you say a little more about the situations in which this is used? I see (or think I se

Re: svn commit: r197537 - head/sys/vm

2009-09-27 Thread Robert Watson
On Sun, 27 Sep 2009, Julian Elischer wrote: Do not allow mmap with the MAP_FIXED argument to map at address zero. This is done to make it harder to exploit kernel NULL pointer security vulnerabilities. While this of course does not fix vulnerabilities, it does mitigate their impact.

Re: svn commit: r197584 - head/sys/rpc/rpcsec_gss

2009-09-28 Thread Robert Watson
On Mon, 28 Sep 2009, John Baldwin wrote: == --- head/sys/rpc/rpcsec_gss/svc_rpcsec_gss.cMon Sep 28 18:54:26 2009 (r197583) +++ head/sys/rpc/rpcsec_gss/svc_rpcsec_gss.cMon Sep 28 18:55:29 2009 (r197584) @@ -

Re: svn commit: r197612 - head/share/man/man7

2009-09-29 Thread Robert Watson
On Tue, 29 Sep 2009, Ruslan Ermilov wrote: Author: ru Date: Tue Sep 29 10:50:02 2009 New Revision: 197612 URL: http://svn.freebsd.org/changeset/base/197612 Log: Fixed markup bugs. Any chance you'll fix content bugs as well? tuning(7) is one of several man pages that desperately needs a re

Re: svn commit: r197608 - head/sys/geom/part

2009-09-29 Thread Robert Watson
On Tue, 29 Sep 2009, Marcel Moolenaar wrote: Why do you check for zeros at all? AFAIK, the only real check is for AA55 at the end of the sector (and having an MBR or other Extended MBR partition entry point at the sector in question). The '96' thing seems rather arbitrary in the code, and I

svn commit: r197624 - head/sys/bsm

2009-09-29 Thread Robert Watson
Author: rwatson Date: Tue Sep 29 21:25:59 2009 New Revision: 197624 URL: http://svn.freebsd.org/changeset/base/197624 Log: Add audit events for process descriptor system calls, which will appear in a future OpenBSM release. Sponsored by: Google Obtained from:TrustedBSD Project

svn commit: r197636 - in head/sys: compat/freebsd32 kern

2009-09-30 Thread Robert Watson
Author: rwatson Date: Wed Sep 30 08:46:01 2009 New Revision: 197636 URL: http://svn.freebsd.org/changeset/base/197636 Log: Reserve system call numbers for Capsicum security framework capabilities, capability mode, and process descriptors: cap_new, cap_getrights, cap_enter, cap_getmode, pdfor

svn commit: r197637 - in head/sys: compat/freebsd32 kern sys

2009-09-30 Thread Robert Watson
Author: rwatson Date: Wed Sep 30 08:48:59 2009 New Revision: 197637 URL: http://svn.freebsd.org/changeset/base/197637 Log: Regenerate system call files following r197636. Modified: head/sys/compat/freebsd32/freebsd32_proto.h head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/compat/fr

Re: svn commit: r197643 - in head/sys: kern sys

2009-09-30 Thread Robert Watson
On Wed, 30 Sep 2009, Attilio Rao wrote: When releasing a read/shared lock we need to use a write memory barrier in order to avoid, on architectures which doesn't have strong ordered writes, CPU instructions reordering. Hi Attilio (Fabio, et al), Nice catch! Are we aware of specific report

svn commit: r197720 - head/sys/kern

2009-10-02 Thread Robert Watson
Author: rwatson Date: Fri Oct 2 21:31:15 2009 New Revision: 197720 URL: http://svn.freebsd.org/changeset/base/197720 Log: Don't comment on stream socket handling in sosend_dgram, since that's not handled. MFC after:3 weeks Modified: head/sys/kern/uipc_socket.c Modified: head/sys/

svn commit: r197775 - head/sys/kern

2009-10-05 Thread Robert Watson
Author: rwatson Date: Mon Oct 5 14:49:16 2009 New Revision: 197775 URL: http://svn.freebsd.org/changeset/base/197775 Log: First cut at implementing SOCK_SEQPACKET support for UNIX (local) domain sockets. This allows for reliable bi-directional datagram communication over UNIX domain socket

svn commit: r197777 - head/usr.bin/netstat

2009-10-05 Thread Robert Watson
Author: rwatson Date: Mon Oct 5 15:06:14 2009 New Revision: 19 URL: http://svn.freebsd.org/changeset/base/19 Log: netstat(1) support for UNIX SOCK_SEQPACKET sockets -- changes were required only for the kvm case, as we supported SOCK_SEQPACKET via sysctl already. Sponsored by: Go

svn commit: r197778 - head/share/man/man4

2009-10-05 Thread Robert Watson
Author: rwatson Date: Mon Oct 5 15:07:44 2009 New Revision: 197778 URL: http://svn.freebsd.org/changeset/base/197778 Log: SOCK_SEQPACKET is now supported on UNIX domain sockets. Sponsored by: Google MFC after:3 months Modified: head/share/man/man4/unix.4 Modified: head/share/man/

svn commit: r197779 - head/share/man/man4

2009-10-05 Thread Robert Watson
Author: rwatson Date: Mon Oct 5 15:15:13 2009 New Revision: 197779 URL: http://svn.freebsd.org/changeset/base/197779 Log: Bump unix(4) man page date for SOCK_SEQPACKET. Suggested by: bz MFC after:3 months Modified: head/share/man/man4/unix.4 Modified: head/share/man/man4/unix.4 =

svn commit: r197781 - in head/tools/regression/sockets: unix_seqpacket unix_seqpacket_exercise

2009-10-05 Thread Robert Watson
Author: rwatson Date: Mon Oct 5 15:27:01 2009 New Revision: 197781 URL: http://svn.freebsd.org/changeset/base/197781 Log: A few regression tests for SOCK_SEQPACKET UNIX domain sockets. Sponsored by: Google Added: head/tools/regression/sockets/unix_seqpacket/ head/tools/regression/sock

svn commit: r197794 - head/sys/kern

2009-10-05 Thread Robert Watson
Author: rwatson Date: Mon Oct 5 22:23:12 2009 New Revision: 197794 URL: http://svn.freebsd.org/changeset/base/197794 Log: Fix build on amd64, where sysctl arg1 is a pointer. Reported by: Mr Tinderbox MFC after:3 months Modified: head/sys/kern/uipc_usrreq.c Modified: head/sys/ker

svn commit: r197795 - head/sys/netinet

2009-10-05 Thread Robert Watson
Author: rwatson Date: Mon Oct 5 22:24:13 2009 New Revision: 197795 URL: http://svn.freebsd.org/changeset/base/197795 Log: In tcp_input(), we acquire a global write lock at first only if a segment is likely to trigger a TCP state change (i.e., FIN/RST/SYN). If we later have to upgrade the lo

svn commit: r197804 - in head: include lib/libc/gen

2009-10-06 Thread Robert Watson
Author: rwatson Date: Tue Oct 6 14:05:57 2009 New Revision: 197804 URL: http://svn.freebsd.org/changeset/base/197804 Log: Add basename_r(3) to complement basename(3). basename_r(3) which accepts a caller-allocated buffer of at least MAXPATHLEN, rather than using a global buffer. MFC a

svn commit: r197808 - head/libexec/rtld-elf

2009-10-06 Thread Robert Watson
Author: rwatson Date: Tue Oct 6 17:14:39 2009 New Revision: 197808 URL: http://svn.freebsd.org/changeset/base/197808 Log: In rtld's map_object(), use pread(..., 0) rather than read() to read the ELF header from the front of the file. As all other I/O on the binary is done using mmap(), thi

svn commit: r197814 - head/sys/netinet

2009-10-06 Thread Robert Watson
Author: rwatson Date: Tue Oct 6 20:35:41 2009 New Revision: 197814 URL: http://svn.freebsd.org/changeset/base/197814 Log: Remove tcp_input lock statistics; these are intended for debugging only and are not intended to ship in 8.0 as they dirty additional cache lines in a performance-critica

svn commit: r197841 - in head: lib/libc/gen lib/libc/sys sys/sys

2009-10-07 Thread Robert Watson
Author: rwatson Date: Wed Oct 7 20:20:51 2009 New Revision: 197841 URL: http://svn.freebsd.org/changeset/base/197841 Log: Add a new errno, ENOTCAPABLE, to be returned when a process requests an operation on a file descriptor that is not authorized by the descriptor's capability flags.

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

2009-10-08 Thread Robert Watson
Author: rwatson Date: Thu Oct 8 11:07:15 2009 New Revision: 197854 URL: http://svn.freebsd.org/changeset/base/197854 Log: Merge r197795 from head to stable/8: In tcp_input(), we acquire a global write lock at first only if a segment is likely to trigger a TCP state change (i.e., FIN/

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

2009-10-09 Thread Robert Watson
Author: rwatson Date: Fri Oct 9 09:18:22 2009 New Revision: 197895 URL: http://svn.freebsd.org/changeset/base/197895 Log: Merge r197814 from head to stable/8: Remove tcp_input lock statistics; these are intended for debugging only and are not intended to ship in 8.0 as they dirty add

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

2009-10-11 Thread Robert Watson
On Sun, 11 Oct 2009, David Schultz wrote: Log: Document errno codes added in r144530. Thanks! Seeing this MFC'd for 8.0 wouldn't be such a bad thing either. Robert Modified: head/lib/libc/sys/intro.2 Modified: head/lib/libc/sys/intro.2

svn commit: r197997 - head/sys/nfsclient

2009-10-12 Thread Robert Watson
Author: rwatson Date: Mon Oct 12 18:58:42 2009 New Revision: 197997 URL: http://svn.freebsd.org/changeset/base/197997 Log: Add a MODULE_DEPEND() on the NFS client from dtnfsclient so that dtnfsclient can access NFS client symbols. MFC after:3 days Discussed with: kib Reporte

svn commit: r197998 - head/sys/modules/nfsclient

2009-10-12 Thread Robert Watson
Author: rwatson Date: Mon Oct 12 18:59:31 2009 New Revision: 197998 URL: http://svn.freebsd.org/changeset/base/197998 Log: Export DTrace symbols from nfsclient so that dtnfsclient can get to them. This fixes DTrace with nfsclient built as a module. MFC after:3 days Reported by: mar

svn commit: r198024 - head/sys/modules/nfsclient

2009-10-13 Thread Robert Watson
Author: rwatson Date: Tue Oct 13 09:21:20 2009 New Revision: 198024 URL: http://svn.freebsd.org/changeset/base/198024 Log: EXPORT_SYMS is not, in fact, required, for a dependent module to access non-static symbols in a module they depend on, so remove dtrace symbols from nfsclient's EXPORT_S

Re: svn commit: r198024 - head/sys/modules/nfsclient

2009-10-13 Thread Robert Watson
On Tue, 13 Oct 2009, John Baldwin wrote: On Tuesday 13 October 2009 5:21:20 am Robert Watson wrote: Author: rwatson Date: Tue Oct 13 09:21:20 2009 New Revision: 198024 URL: http://svn.freebsd.org/changeset/base/198024 Log: EXPORT_SYMS is not, in fact, required, for a dependent module to

svn commit: r198040 - head/lib/libc/nls

2009-10-13 Thread Robert Watson
Author: rwatson Date: Tue Oct 13 17:57:06 2009 New Revision: 198040 URL: http://svn.freebsd.org/changeset/base/198040 Log: Add C message catalogue entries for newer errnos: EBADMSG, EMULTIHOP, ENOLINK, EPROTO, ENOTCAPABLE. Submitted by: Alan R. S. Bueno MFC after:3 days (most) Mod

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

2009-10-13 Thread Robert Watson
On Mon, 12 Oct 2009, Alan R. S. Bueno wrote: That modification also imply modifying the template NLS catalog and the translations (or maybe translators should be advised to update their files (I don't know if they are aware of the change)). I wasn't aware I needed to do this, and have now me

svn commit: r198118 - head/usr.bin/netstat

2009-10-15 Thread Robert Watson
Author: rwatson Date: Thu Oct 15 10:31:24 2009 New Revision: 198118 URL: http://svn.freebsd.org/changeset/base/198118 Log: Print routing statistics as unsigned short rather than unsigned int, otherwise sign extension leads to unlikely values when in the negative range of the signed short str

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

2009-10-15 Thread Robert Watson
Author: rwatson Date: Thu Oct 15 14:39:59 2009 New Revision: 198133 URL: http://svn.freebsd.org/changeset/base/198133 Log: Add a MODULE_DEPEND() on the NFS client from dtnfsclient so that dtnfsclient can access NFS client symbols. Discussed with: kib Reported by: markm Approved

Re: svn commit: r198136 - head/tools/tools/netrate/netsend

2009-10-15 Thread Robert Watson
On Thu, 15 Oct 2009, Luigi Rizzo wrote: Support the specification of a range of destination ports e.g. netsend 127.0.0.1 - [payloadsize] [packet_rate] [duration] All sounds very useful -- consider making some of these changes (where appropriate) to netblast as well? Also,

svn commit: r198196 - head/sys/netinet

2009-10-18 Thread Robert Watson
Author: rwatson Date: Sun Oct 18 11:23:56 2009 New Revision: 198196 URL: http://svn.freebsd.org/changeset/base/198196 Log: Rewrap ip_input() comment so that it prints more nicely. MFC after:3 days Modified: head/sys/netinet/ip_input.c Modified: head/sys/netinet/ip_input.c ==

svn commit: r198198 - head/sys/net

2009-10-18 Thread Robert Watson
Author: rwatson Date: Sun Oct 18 11:27:34 2009 New Revision: 198198 URL: http://svn.freebsd.org/changeset/base/198198 Log: Line-wrap pfil.c so that it prints more nicely. MFC after:3 days Modified: head/sys/net/pfil.c Modified: head/sys/net/pfil.c ===

Re: svn commit: r198118 - head/usr.bin/netstat

2009-10-18 Thread Robert Watson
On Fri, 16 Oct 2009, Bruce Evans wrote: On Thu, 15 Oct 2009, Robert Watson wrote: Log: Print routing statistics as unsigned short rather than unsigned int, otherwise sign extension leads to unlikely values when in the negative range of the signed short structure fields that hold the

svn commit: r198209 - stable/8/usr.bin/netstat

2009-10-18 Thread Robert Watson
Author: rwatson Date: Sun Oct 18 15:58:57 2009 New Revision: 198209 URL: http://svn.freebsd.org/changeset/base/198209 Log: Merge r198118 from head to stable/8: Print routing statistics as unsigned short rather than unsigned int, otherwise sign extension leads to unlikely values when i

  1   2   3   4   5   6   7   8   9   10   >