Searched refs:PR_SET_NO_NEW_PRIVS (Results 1 - 14 of 14) sorted by relevance
/linux-master/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)) {
|
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)) {
|
H A D | dropper.c | 49 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) {
|
/linux-master/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); 369 TH_LOG("Kernel does not support PR_SET_NO_NEW_PRIVS!"); 378 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, NULL, 0, 0); 380 TH_LOG("Kernel does not support PR_SET_NO_NEW_PRIVS!"); 437 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); 474 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); 508 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); 531 ret = prctl(PR_SET_NO_NEW_PRIVS, [all...] |
H A D | seccomp_benchmark.c | 220 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
|
/linux-master/include/uapi/linux/ |
H A D | prctl.h | 175 #define PR_SET_NO_NEW_PRIVS 38 macro
|
/linux-master/tools/include/uapi/linux/ |
H A D | prctl.h | 175 #define PR_SET_NO_NEW_PRIVS 38 macro
|
/linux-master/tools/perf/bench/ |
H A D | sched-seccomp-notify.c | 107 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
|
/linux-master/tools/testing/selftests/landlock/ |
H A D | base_test.c | 220 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); 300 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0));
|
H A D | ptrace_test.c | 41 EXPECT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0));
|
H A D | common.h | 223 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0));
|
H A D | fs_test.c | 520 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0));
|
/linux-master/samples/landlock/ |
H A D | sandboxer.c | 376 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) {
|
/linux-master/kernel/ |
H A D | sys.c | 2608 case PR_SET_NO_NEW_PRIVS:
|
Completed in 181 milliseconds