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
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
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
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
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
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
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
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
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
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
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).
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
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
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
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
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
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
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
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
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/
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
,
+.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
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
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
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
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
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
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
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
==
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
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
=
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
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).
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
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
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
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
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
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
===
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
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
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
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
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
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,
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
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
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:
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
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
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
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
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
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
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.
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(
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
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
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
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
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
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
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
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
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.
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)
@@ -
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
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
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
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
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
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
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/
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
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
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/
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
=
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
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
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
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
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
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
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.
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/
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
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
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
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
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
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
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
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
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
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
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,
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
==
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
===
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
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 - 100 of 1225 matches
Mail list logo