linux/tools/testing/selftests/memfd
Greg Thelen a9117b4d7f selftests/memfd: delete unused declarations
Commit 32d118ad50 ("selftests/memfd: add tests for F_SEAL_EXEC"):
- added several unused 'nbytes' local variables

Commit 6469b66e3f ("selftests: improve vm.memfd_noexec sysctl tests"):
- orphaned 'newpid_thread_fn2()' forward declaration
- orphaned 'join_newpid_thread()' forward declaration
- added unused 'pid' local in sysctl_simple_child()
- orphaned 'fd' local in sysctl_simple_child()
- added unused 'fd' in sysctl_nested_child()

Delete the unused locals and forward declarations.

Link: https://lkml.kernel.org/r/20240118095057.677544-1-gthelen@google.com
Signed-off-by: Greg Thelen <gthelen@google.com>
Cc: Aleksa Sarai <cyphar@cyphar.com>
Cc: Daniel Verkamp <dverkamp@chromium.org>
Cc: Jeff Xu <jeffxu@google.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-02-22 10:24:38 -08:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
common.c
common.h
config
fuse_mnt.c
fuse_test.c selftests/memfd: add tests for MFD_NOEXEC_SEAL MFD_EXEC 2023-01-18 17:12:37 -08:00
Makefile selftests: memfd: Use installed kernel headers search path 2023-02-13 09:09:46 -07:00
memfd_test.c selftests/memfd: delete unused declarations 2024-02-22 10:24:38 -08:00
run_fuse_test.sh
run_hugetlbfs_test.sh