aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/exec/Makefile
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2022-01-31 17:16:37 -0800
committerKees Cook <keescook@chromium.org>2022-03-01 16:16:27 -0800
commit9132c3947b09a6c67372424ff69f867f2cee82f8 (patch)
tree8165db6efc1e3ea4922fffc793aeac8fb8cfb930 /tools/testing/selftests/exec/Makefile
parentexec: Force single empty string when argv is empty (diff)
downloadwireguard-linux-9132c3947b09a6c67372424ff69f867f2cee82f8.tar.xz
wireguard-linux-9132c3947b09a6c67372424ff69f867f2cee82f8.zip
selftests/exec: Test for empty string on NULL argv
Test for the NULL argv argument producing a single empty string on exec. Cc: Eric Biederman <ebiederm@xmission.com> Cc: Shuah Khan <shuah@kernel.org> Cc: Yang Yingliang <yangyingliang@huawei.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: linux-kselftest@vger.kernel.org Signed-off-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/lkml/20220201011637.2457646-1-keescook@chromium.org
Diffstat (limited to 'tools/testing/selftests/exec/Makefile')
-rw-r--r--tools/testing/selftests/exec/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/exec/Makefile b/tools/testing/selftests/exec/Makefile
index 12c5e27d32c1..551affb437fe 100644
--- a/tools/testing/selftests/exec/Makefile
+++ b/tools/testing/selftests/exec/Makefile
@@ -10,6 +10,7 @@ TEST_GEN_FILES := execveat.symlink execveat.denatured script subdir
TEST_FILES := Makefile
TEST_GEN_PROGS += recursion-depth
+TEST_GEN_PROGS += null-argv
EXTRA_CLEAN := $(OUTPUT)/subdir.moved $(OUTPUT)/execveat.moved $(OUTPUT)/xxxxx* \
$(OUTPUT)/S_I*.test