From 374af67a4242085a59074bec020c2150dce671dd Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 5 Oct 2008 06:24:36 +0200 Subject: [PATCH] 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 --- man2/getrlimit.2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/man2/getrlimit.2 b/man2/getrlimit.2 index ea92a1aad..d309578e8 100644 --- a/man2/getrlimit.2 +++ b/man2/getrlimit.2 @@ -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