Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c76 #ifndef PR_SET_NO_NEW_PRIVS
77 #define PR_SET_NO_NEW_PRIVS 38 macro
374 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
385 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, NULL, 0, 0); in TEST()
444 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
481 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
515 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
538 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
563 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
580 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
[all …]
H A Dseccomp_benchmark.c220 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in main()
/linux/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)) { in main()
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)) { in install_filter()
H A Ddropper.c49 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in install_filter()
/linux/tools/testing/selftests/landlock/
H A Dbase_test.c221 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST()
301 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST()
349 EXPECT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST()
H A Dsandbox-and-launch.c46 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in main()
H A Dcommon.h200 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in enforce_ruleset()
H A Dptrace_test.c39 EXPECT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in create_domain()
H A Dscoped_abstract_unix_test.c42 EXPECT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in create_fs_domain()
/linux/Documentation/translations/zh_CN/userspace-api/
H A Dno_new_privs.rst35 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
H A Dseccomp_filter.rst63 在调用之前,进程必须调用 ``prctl(PR_SET_NO_NEW_PRIVS, 1)`` 或者在它的
/linux/tools/perf/bench/
H A Dsched-seccomp-notify.c107 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in bench_sched_seccomp_notify()
/linux/tools/include/uapi/linux/
H A Dprctl.h175 #define PR_SET_NO_NEW_PRIVS 38 macro
/linux/include/uapi/linux/
H A Dprctl.h175 #define PR_SET_NO_NEW_PRIVS 38 macro
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dprctl.h175 #define PR_SET_NO_NEW_PRIVS 38 macro
/linux/Documentation/userspace-api/
H A Dno_new_privs.rst34 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
H A Dseccomp_filter.rst71 Prior to use, the task must call ``prctl(PR_SET_NO_NEW_PRIVS, 1)`` or
H A Dlandlock.rst201 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) {
/linux/samples/landlock/
H A Dsandboxer.c482 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in main()
/linux/kernel/
H A Dsys.c2631 case PR_SET_NO_NEW_PRIVS: in SYSCALL_DEFINE5()