getrlimit.2: Note that RLIMIT_AS and RLIMIT_DATA are rounded down to system page size

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-09-03 04:06:51 +02:00
parent b50667ac6d
commit 8a351f8497
1 changed files with 4 additions and 2 deletions

View File

@ -126,7 +126,8 @@ argument must be one of:
.TP
.B RLIMIT_AS
This is the maximum size of the process's virtual memory
(address space) in bytes.
(address space).
The limit is specified in bytes, and is rounded down to the system page size.
.\" since 2.0.27 / 2.1.12
This limit affects calls to
.BR brk (2),
@ -176,9 +177,10 @@ perform an orderly termination upon first receipt of
.BR SIGXCPU .)
.TP
.B RLIMIT_DATA
This is the maximum size (in bytes)
This is the maximum size
of the process's data segment (initialized data,
uninitialized data, and heap).
The limit is specified in bytes, and is rounded down to the system page size.
This limit affects calls to
.BR brk (2)
and