Searched refs:PR_SET_NO_NEW_PRIVS (Results 1 - 14 of 14) sorted by relevance

/linux-master/samples/seccomp/
H A Dbpf-fancy.c23 #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 Dbpf-direct.c54 #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 Ddropper.c49 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) {
/linux-master/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c69 #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 Dseccomp_benchmark.c220 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
/linux-master/include/uapi/linux/
H A Dprctl.h175 #define PR_SET_NO_NEW_PRIVS 38 macro
/linux-master/tools/include/uapi/linux/
H A Dprctl.h175 #define PR_SET_NO_NEW_PRIVS 38 macro
/linux-master/tools/perf/bench/
H A Dsched-seccomp-notify.c107 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
/linux-master/tools/testing/selftests/landlock/
H A Dbase_test.c220 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 Dptrace_test.c41 EXPECT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0));
H A Dcommon.h223 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0));
H A Dfs_test.c520 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0));
/linux-master/samples/landlock/
H A Dsandboxer.c376 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) {
/linux-master/kernel/
H A Dsys.c2608 case PR_SET_NO_NEW_PRIVS:

Completed in 181 milliseconds