aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/exec/recursion-depth.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-05-14exec selftests: test ->recursion_depthAlexey Dobriyan1-0/+67
Test that trivially recursing script onto itself doesn't work. Note: this is different test from ELOOP tests in execveat.c Those test that execveat(2) doesn't follow symlinks when told to do so. Link: http://lkml.kernel.org/r/20190423192720.GA21433@avx2 Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>