Skip to content

Commit

Permalink
execve.2: execve also returns E2BIG if a string is too long
Browse files Browse the repository at this point in the history
Document that if a command line or environment string is too long (> MAX_ARG_STRLEN), execve will also return E2BIG.

Signed-off-by: Rik van Riel <[email protected]>
  • Loading branch information
rikvanriel committed Oct 11, 2023
1 parent ae6b221 commit 2b3b1f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion man2/execve.2
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ The total number of bytes in the environment
.RI ( envp )
and argument list
.RI ( argv )
is too large.
is too large, or an argument or environment string is too long.
.TP
.B EACCES
Search permission is denied on a component of the path prefix of
Expand Down

0 comments on commit 2b3b1f1

Please sign in to comment.