/kernel/linux/linux-5.10/tools/testing/selftests/seccomp/ |
H A D | seccomp_bpf.c | 66 #ifndef PR_SET_NO_NEW_PRIVS 67 #define PR_SET_NO_NEW_PRIVS 38 macro 354 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 356 TH_LOG("Kernel does not support PR_SET_NO_NEW_PRIVS!"); in TEST() 365 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, NULL, 0, 0); in TEST() 367 TH_LOG("Kernel does not support PR_SET_NO_NEW_PRIVS!"); in TEST() 422 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 459 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 493 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 516 ret = prctl(PR_SET_NO_NEW_PRIVS, in TEST() [all...] |
H A D | seccomp_benchmark.c | 101 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/seccomp/ |
H A D | seccomp_bpf.c | 69 #ifndef PR_SET_NO_NEW_PRIVS 70 #define PR_SET_NO_NEW_PRIVS 38 macro 367 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 369 TH_LOG("Kernel does not support PR_SET_NO_NEW_PRIVS!"); in TEST() 378 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, NULL, 0, 0); in TEST() 380 TH_LOG("Kernel does not support PR_SET_NO_NEW_PRIVS!"); in TEST() 437 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 474 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 508 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 531 ret = prctl(PR_SET_NO_NEW_PRIVS, in TEST() [all...] |
H A D | seccomp_benchmark.c | 167 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in main()
|
/kernel/linux/linux-5.10/samples/seccomp/ |
H A D | bpf-fancy.c | 23 #ifndef PR_SET_NO_NEW_PRIVS 24 #define PR_SET_NO_NEW_PRIVS 38 macro 88 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in main()
|
H A D | bpf-direct.c | 54 #ifndef PR_SET_NO_NEW_PRIVS 55 #define PR_SET_NO_NEW_PRIVS 38 macro 150 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in install_filter()
|
H A D | dropper.c | 45 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in install_filter()
|
/kernel/linux/linux-6.6/samples/seccomp/ |
H A D | bpf-fancy.c | 23 #ifndef PR_SET_NO_NEW_PRIVS 24 #define PR_SET_NO_NEW_PRIVS 38 macro 88 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in main()
|
H A D | bpf-direct.c | 54 #ifndef PR_SET_NO_NEW_PRIVS 55 #define PR_SET_NO_NEW_PRIVS 38 macro 150 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in install_filter()
|
H A D | dropper.c | 49 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in install_filter()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | prctl.h | 103 #define PR_SET_NO_NEW_PRIVS 38 macro
|
/kernel/linux/linux-6.6/tools/testing/selftests/landlock/ |
H A D | base_test.c | 220 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST() 300 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST()
|
H A D | ptrace_test.c | 41 EXPECT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in create_domain()
|
H A D | fs_test.c | 518 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST_F_FORK() 685 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in enforce_ruleset()
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
H A D | prctl.h | 175 #define PR_SET_NO_NEW_PRIVS 38 macro
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | prctl.h | 175 #define PR_SET_NO_NEW_PRIVS 38 macro
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | prctl.h | 175 #define PR_SET_NO_NEW_PRIVS 38 macro
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | prctl.h | 116 #define PR_SET_NO_NEW_PRIVS 38 macro
|
/kernel/linux/linux-6.6/tools/include/uapi/linux/ |
H A D | prctl.h | 175 #define PR_SET_NO_NEW_PRIVS 38 macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | prctl.h | 116 #define PR_SET_NO_NEW_PRIVS 38 macro
|
/kernel/linux/linux-6.6/tools/perf/bench/ |
H A D | sched-seccomp-notify.c | 107 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in bench_sched_seccomp_notify()
|
/kernel/linux/linux-6.6/samples/landlock/ |
H A D | sandboxer.c | 289 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in main()
|
/kernel/linux/linux-5.10/kernel/ |
H A D | sys.c | 2514 case PR_SET_NO_NEW_PRIVS: in SYSCALL_DEFINE5()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | sys.c | 2592 case PR_SET_NO_NEW_PRIVS: in SYSCALL_DEFINE5()
|