getrlimit.2: refer to execve(2) for RLIMIT_STACK's effect on ARG_MAX

Refer the reader to new text in execve(2) that describes how
(since Linux 2.6.23) RLIMIT_STACK determines the value of ARG_MAX.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2008-10-05 06:24:36 +02:00
parent 3a9dc9ff79
commit 374af67a42
1 changed files with 5 additions and 0 deletions

View File

@ -355,6 +355,11 @@ Upon reaching this limit, a
signal is generated.
To handle this signal, a process must employ an alternate signal stack
.RB ( sigaltstack (2)).
Since Linux 2.6.23,
this limit also determines the amount of space used for the process's
command-line arguments and environment variables; for details, see
.BR execve (2).
.SH "RETURN VALUE"
On success, zero is returned.
On error, \-1 is returned, and