Re: [PATCH] selftests/exec: Add binfmt_script regression test

2020-05-20 Thread Eric W. Biederman
Kees Cook writes: > While working on commit b5372fe5dc84 ("exec: load_script: Do not exec > truncated interpreter path"), I wrote a series of test scripts to verify > corner cases. However, soon after, commit 6eb3c3d0a52d ("exec: increase > BINPRM_BUF_SIZE to 256") landed, resulting in the tests

[PATCH] selftests/exec: Add binfmt_script regression test

2020-05-20 Thread Kees Cook
While working on commit b5372fe5dc84 ("exec: load_script: Do not exec truncated interpreter path"), I wrote a series of test scripts to verify corner cases. However, soon after, commit 6eb3c3d0a52d ("exec: increase BINPRM_BUF_SIZE to 256") landed, resulting in the tests needing to be refactored for