summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2016-10-07 15:48:55 +0000
committertedu <tedu@openbsd.org>2016-10-07 15:48:55 +0000
commitb6ea6600a4dbdbd1dc21f8f2bff0338c38e893e0 (patch)
treefdd102b8c5eeb6fc3b207338ce27e477e48dba5e /lib/libc
parentenable colrm and column, which i apparently forgot (diff)
downloadwireguard-openbsd-b6ea6600a4dbdbd1dc21f8f2bff0338c38e893e0.tar.xz
wireguard-openbsd-b6ea6600a4dbdbd1dc21f8f2bff0338c38e893e0.zip
rss limit is no longer enforced. noticed by Raimo Niskanen
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/getrlimit.28
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/libc/sys/getrlimit.2 b/lib/libc/sys/getrlimit.2
index 82bbfd0df5c..5c22a00c9b7 100644
--- a/lib/libc/sys/getrlimit.2
+++ b/lib/libc/sys/getrlimit.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getrlimit.2,v 1.26 2015/09/10 17:55:21 schwarze Exp $
+.\" $OpenBSD: getrlimit.2,v 1.27 2016/10/07 15:48:55 tedu Exp $
.\" $NetBSD: getrlimit.2,v 1.8 1995/10/12 15:40:58 jtc Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)getrlimit.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: September 10 2015 $
+.Dd $Mdocdate: October 7 2016 $
.Dt GETRLIMIT 2
.Os
.Sh NAME
@@ -82,9 +82,7 @@ The maximum number of simultaneous processes for this user id.
.It Li RLIMIT_RSS
The maximum size (in bytes) to which a process's resident set size may
grow.
-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.
+This setting is no longer enforced, but retained for compatibility.
.It Li RLIMIT_STACK
The maximum size (in bytes) of the stack segment for a process,
which defines how far a process's stack segment may be extended.