diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-11-20 03:16:33 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-11-20 03:16:33 +0000 |
commit | a0bd2bb39b3d038566fd7e633c5878b2f3eee4d0 (patch) | |
tree | 2b83c6d1611dd29488b6aae6447be96e5985cd03 /lib/libc/sys/getrlimit.2 | |
parent | 38b0a47651eff1523bd6332a4f4e26c19820bc4b (diff) |
sbrk is long dead. clarify that the data segment is malloc and anon mmap.
Diffstat (limited to 'lib/libc/sys/getrlimit.2')
-rw-r--r-- | lib/libc/sys/getrlimit.2 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libc/sys/getrlimit.2 b/lib/libc/sys/getrlimit.2 index 6c897202862..4bd4a1776e0 100644 --- a/lib/libc/sys/getrlimit.2 +++ b/lib/libc/sys/getrlimit.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getrlimit.2,v 1.22 2013/07/17 05:42:11 schwarze Exp $ +.\" $OpenBSD: getrlimit.2,v 1.23 2014/11/20 03:16:32 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: July 17 2013 $ +.Dd $Mdocdate: November 20 2014 $ .Dt GETRLIMIT 2 .Os .Sh NAME @@ -64,9 +64,10 @@ The maximum amount of CPU time (in seconds) to be used by each process. .It Li RLIMIT_DATA The maximum size (in bytes) of the data segment for a process; -this defines how far a program may extend its break with the -.Xr sbrk 2 -system call. +this includes memory allocated via +.Xr malloc 2 +and all other anonymous memory mapped via +.Xr mmap 2 . .It Li RLIMIT_FSIZE The largest size (in bytes) file that may be created. .It Li RLIMIT_MEMLOCK |