Home
last modified time | relevance | path

Searched refs:PR_SET_NO_NEW_PRIVS (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.15/tools/testing/selftests/seccomp/
Dseccomp_bpf.c66 #ifndef PR_SET_NO_NEW_PRIVS
67 #define PR_SET_NO_NEW_PRIVS 38 macro
356 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
367 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, NULL, 0, 0); in TEST()
424 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
461 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
495 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
518 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
543 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
560 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
[all …]
Dseccomp_benchmark.c167 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in main()
/Linux-v5.15/samples/seccomp/
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)) { in main()
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)) { in install_filter()
Ddropper.c45 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in install_filter()
/Linux-v5.15/tools/testing/selftests/landlock/
Dbase_test.c130 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST()
237 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST()
Dptrace_test.c34 EXPECT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in create_domain()
Dfs_test.c373 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST_F_FORK()
494 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in enforce_ruleset()
/Linux-v5.15/include/uapi/linux/
Dprctl.h175 #define PR_SET_NO_NEW_PRIVS 38 macro
/Linux-v5.15/tools/include/uapi/linux/
Dprctl.h175 #define PR_SET_NO_NEW_PRIVS 38 macro
/Linux-v5.15/samples/landlock/
Dsandboxer.c216 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in main()
/Linux-v5.15/Documentation/userspace-api/
Dno_new_privs.rst34 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
Dlandlock.rst102 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) {
Dseccomp_filter.rst71 Prior to use, the task must call ``prctl(PR_SET_NO_NEW_PRIVS, 1)`` or
/Linux-v5.15/kernel/
Dsys.c2424 case PR_SET_NO_NEW_PRIVS: in SYSCALL_DEFINE5()