selftests/exec: add file type errno tests
Make sure execve() returns the expected errno values for non-regular files. Signed-off-by:Kees Cook <keescook@chromium.org> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Cc: Marc Zyngier <maz@kernel.org> Link: http://lkml.kernel.org/r/20200813231723.2725102-3-keescook@chromium.org Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- tools/testing/selftests/exec/.gitignore 1 addition, 0 deletionstools/testing/selftests/exec/.gitignore
- tools/testing/selftests/exec/Makefile 3 additions, 2 deletionstools/testing/selftests/exec/Makefile
- tools/testing/selftests/exec/non-regular.c 196 additions, 0 deletionstools/testing/selftests/exec/non-regular.c
tools/testing/selftests/exec/non-regular.c
0 → 100644
Please register or sign in to comment