Re: execve E2BIG (Argument list too long)

2020-10-02 Thread Daniel Colascione
On September 30, 2020 8:44:40 AM Andreas Schwab wrote: On Sep 30 2020, Daniel Colascione wrote: It might be worth asking lkml to lift this restriction You will have bad luck with that. The limit has been introduced for security reasons. What "security reasons"? You'd still be subject

Re: execve E2BIG (Argument list too long)

2020-10-01 Thread Michael Green
9/30/20 3:12 AM, Michael Green wrote: > > > Bash Version: 5.0 > > Patch Level: 17 > > Release Status: release > > > > Description: > > > > The included short script when run with the following command results > > in execve "E2BIG (

Re: execve E2BIG (Argument list too long)

2020-09-30 Thread Andreas Schwab
On Sep 30 2020, Daniel Colascione wrote: > It might be worth asking lkml to lift this restriction You will have bad luck with that. The limit has been introduced for security reasons. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73

Re: execve E2BIG (Argument list too long)

2020-09-30 Thread Daniel Colascione
On September 30, 2020 8:24:01 AM Ilkka Virta wrote: On Wed, Sep 30, 2020 at 5:53 PM Michael Green wrote: The included short script when run with the following command results in execve "E2BIG (Argument list too long) errors". * The number of arguments can be tuned down to &q

Re: execve E2BIG (Argument list too long)

2020-09-30 Thread Chet Ramey
On 9/30/20 3:12 AM, Michael Green wrote: > Bash Version: 5.0 > Patch Level: 17 > Release Status: release > > Description: > > The included short script when run with the following command results > in execve "E2BIG (Argument list too long) errors". T

Re: execve E2BIG (Argument list too long)

2020-09-30 Thread Greg Wooledge
On Wed, Sep 30, 2020 at 09:12:30AM +0200, Michael Green wrote: > seq 1 4 | xargs ./bash_bug > > BEGIN: bash_bug > -- > #!/usr/bin/env bash > . "exists_or_not" > export A123456789012345="${BASH_ARGV[*]}" > mkdir -p /tmp/foobar > perl -E 'say "hello world"'

Re: execve E2BIG (Argument list too long)

2020-09-30 Thread Ilkka Virta
On Wed, Sep 30, 2020 at 5:53 PM Michael Green wrote: > The included short script when run with the following command results > in execve "E2BIG (Argument list too long) errors". > > * The number of arguments can be tuned down to "seq 1 23694" and

execve E2BIG (Argument list too long)

2020-09-30 Thread Michael Green
x86_64 x86_64 x86_64 GNU/Linux Machine Type: x86_64-redhat-linux-gnu Bash Version: 5.0 Patch Level: 17 Release Status: release Description: The included short script when run with the following command results in execve "E2BIG (Argument list too long) errors". Running "strace -f