Module Name: src
Committed By: bouyer
Date: Mon May 18 18:26:29 UTC 2009
Modified Files:
src/lib/libc/gen [netbsd-4]: sysctl.3
Log Message:
Apply patch, requested by snj in ticket #1318:
lib/libc/gen/sysctl.3: patch
document PROC_PID_LIMIT_SBSIZE. Addresses PR 36463.
To generate a diff of this commit:
cvs rdiff -u -r1.191 -r1.191.2.1 src/lib/libc/gen/sysctl.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/gen/sysctl.3
diff -u src/lib/libc/gen/sysctl.3:1.191 src/lib/libc/gen/sysctl.3:1.191.2.1
--- src/lib/libc/gen/sysctl.3:1.191 Mon Nov 27 17:55:12 2006
+++ src/lib/libc/gen/sysctl.3 Mon May 18 18:26:29 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: sysctl.3,v 1.191 2006/11/27 17:55:12 elad Exp $
+.\" $NetBSD: sysctl.3,v 1.191.2.1 2009/05/18 18:26:29 bouyer Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)sysctl.3 8.4 (Berkeley) 5/9/95
.\"
-.Dd November 27, 2006
+.Dd May 18, 2009
.Dt SYSCTL 3
.Os
.Sh NAME
@@ -1781,6 +1781,14 @@
This imposes a limit on the amount of physical memory to be given to
a process; if memory is tight, the system will prefer to take memory
from processes that are exceeding their declared resident set size.
+.It Li PROC_PID_LIMIT_SBSIZE
+The maximum size (in bytes) of the socket buffers
+set by the
+.Xr setsockopt 2
+.Dv SO_RCVBUF
+and
+.Dv SO_SNDBUF
+options.
.It Li PROC_PID_LIMIT_MEMLOCK
The maximum size (in bytes) which a process may lock into memory
using the