[PATCH] execve.2: document an effect of BINPRM_BUF_SIZE increase to 256

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Increase of BINPRM_BUF_SIZE to 256 increases the limit on the possible
interpreter line length for scripts to 255.

Signed-off-by: Eugene Syromiatnikov <esyr@xxxxxxxxxx>
---
 man2/execve.2 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/man2/execve.2 b/man2/execve.2
index d2bb861..f4e37d6 100644
--- a/man2/execve.2
+++ b/man2/execve.2
@@ -633,8 +633,9 @@ prototype:
 .in
 .\"
 .SS Interpreter scripts
-A maximum line length of 127 characters is allowed for the first line in
-an interpreter script.
+Before Linux 4.20, a maximum line length of 127 characters was allowed
+for the first line in an interpreter script.
+In Linux 4.20 onwards, this limit was increased up to 255 characters.
 .PP
 The semantics of the
 .I optional-arg
-- 
2.1.4




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux