Subject: Re: lib/36463: PROC_PID_LIMIT_SBSIZE is not documented in sysctl(3)
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Greg A. Woods <woods@planix.com>
List: netbsd-bugs
Date: 06/09/2007 19:25:03
The following reply was made to PR lib/36463; it has been noted by GNATS.
From: "Greg A. Woods" <woods@planix.com>
To: NetBSD GNATS <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: lib/36463: PROC_PID_LIMIT_SBSIZE is not documented in sysctl(3)
Date: Sat, 09 Jun 2007 15:20:04 -0400
--pgp-sign-Multipart_Sat_Jun__9_15:20:04_2007-1
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Fix for -current:
Index: share/man/man7/sysctl.7
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvs/master/m-NetBSD/main/src/share/man/man7/sysctl.7,v
retrieving revision 1.10
diff -u -r1.10 sysctl.7
--- share/man/man7/sysctl.7 17 May 2007 11:50:10 -0000 1.10
+++ share/man/man7/sysctl.7 9 Jun 2007 19:17:58 -0000
@@ -29,7 +29,7 @@
.\"
.\" @(#)sysctl.3 8.4 (Berkeley) 5/9/95
.\"
-.Dd May 17, 2007
+.Dd June 9, 2007
.Dt SYSCTL 7
.Os
.Sh NAME
@@ -1650,6 +1650,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.rlimit.sbsize ( 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.rlimit.memorylocked ( PROC_PID_LIMIT_MEMLOCK )
The maximum size (in bytes) which a process may lock into memory
using the
--=20
Greg A. Woods
H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com> Secrets of the Weird <woods@weird.com>
--pgp-sign-Multipart_Sat_Jun__9_15:20:04_2007-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: 16JLsFHvXcItLablDLptiVYeAuSGG7P8
iQA/AwUBRmr9ZGZ9cbd4v/R/EQJGyQCg5sjm8tGY1tE1uOEjlFA9XM7GUc8AoI4Q
OUl+VtS79tyjkeuIYjjC6vfn
=l8dB
-----END PGP SIGNATURE-----
--pgp-sign-Multipart_Sat_Jun__9_15:20:04_2007-1--