Skip to content
Snippets Groups Projects
Commit 61016db1 authored by Kees Cook's avatar Kees Cook Committed by Shuah Khan
Browse files

selftests/exec: Verify execve of non-regular files fail


Add a named pipe as an exec target to make sure that non-regular
files are rejected by execve() with EACCES. This can help verify
commit 73601ea5 ("fs/open.c: allow opening only regular files
during execve()").

Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent a5f30467
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment