Increase of BINPRM_BUF_SIZE to 256 increases the limit on the possible interpreter line length for scripts to 255. The relevant kernel commit is 6eb3c3d0a52dca33 ("exec: increase BINPRM_BUF_SIZE to 256"). Signed-off-by: Eugene Syromiatnikov <esyr@xxxxxxxxxx> --- man2/execve.2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/man2/execve.2 b/man2/execve.2 index 468c7c1..e9f956e 100644 --- a/man2/execve.2 +++ b/man2/execve.2 @@ -633,8 +633,10 @@ prototype: .in .\" .SS Interpreter scripts -A maximum line length of 127 characters is allowed for the first line in -an interpreter script. +Before Linux 5.1, a maximum line length of 127 characters was allowed +for the first line in an interpreter script. +.\" commit 6eb3c3d0a52dca337e327ae8868ca1f44a712e02 +In Linux 5.1 onwards, this limit was increased up to 255 characters. .PP The semantics of the .I optional-arg -- 2.1.4