mirror of https://github.com/mkerrisk/man-pages
execve.2: Correct the versions of Linux that don't have ARG_MAX argv/envp size
I just happened upon this inconsistent text while reading `man 2 execve`. The code in question landed in 2.6.23 as b6a2fea39318 ("mm: variable length argument support"). Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
d14c4ba412
commit
33f776b54c
|
@ -431,7 +431,7 @@ so that, even when
|
||||||
.BR RLIMIT_STACK
|
.BR RLIMIT_STACK
|
||||||
is set very low,
|
is set very low,
|
||||||
applications are guaranteed to have at least as much argument and
|
applications are guaranteed to have at least as much argument and
|
||||||
environment space as was provided by Linux 2.6.23 and earlier.
|
environment space as was provided by Linux 2.6.22 and earlier.
|
||||||
(This guarantee was not provided in Linux 2.6.23 and 2.6.24.)
|
(This guarantee was not provided in Linux 2.6.23 and 2.6.24.)
|
||||||
Additionally, the limit per string is 32 pages (the kernel constant
|
Additionally, the limit per string is 32 pages (the kernel constant
|
||||||
.BR MAX_ARG_STRLEN ),
|
.BR MAX_ARG_STRLEN ),
|
||||||
|
|
Loading…
Reference in New Issue