Re: [PATCH] execve.2: add more detail about Shebangs

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

 



Hello Eugene,

On Fri, 22 Mar 2019 at 01:04, Eugene Syromyatnikov <evgsyr@xxxxxxxxx> wrote:
>
> On Fri, Mar 22, 2019 at 12:24 AM Shawn Landden <shawn@xxxxxxx> wrote:
> >
> > Signed-off-by: Shawn Landden <shawn@xxxxxxx>
> > ---
> >  man2/execve.2 | 8 ++++++++
> >  1 file changed, 8 insertions(+)
> >
> > diff --git a/man2/execve.2 b/man2/execve.2
> > index a052f34b0..c363214c0 100644
> > --- a/man2/execve.2
> > +++ b/man2/execve.2
> > @@ -336,6 +336,14 @@ For portable use,
> >  should either be absent, or be specified as a single word (i.e., it
> >  should not contain white space); see NOTES below.
> >  .PP
> > +The maximum length of the shebang line is 128 bytes,
> This is already documented with the phrase "A maximum line length of
> 127 characters is allowed for the first line in an interpreter
> script".
>
> Moreover, this is likely going to change in Linux 5.1, due to the
> commit v5.1-rc1~118^2~33 ("exec: increase BINPRM_BUF_SIZE to 256").

Thanks. I've just added documentation of this change to the execve(2) page.

Cheers,

Michael



[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