Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/seccomp/
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); in TEST()
378 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, NULL, 0, 0); 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, 1, 0, 0, 0); in TEST()
556 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
573 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-v6.6/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.c49 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in install_filter()
/Linux-v6.6/Documentation/translations/zh_CN/userspace-api/
Dno_new_privs.rst35 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
Dseccomp_filter.rst63 在调用之前,进程必须调用 ``prctl(PR_SET_NO_NEW_PRIVS, 1)`` 或者在它的
/Linux-v6.6/tools/testing/selftests/landlock/
Dbase_test.c220 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()
Dptrace_test.c41 EXPECT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in create_domain()
Dfs_test.c516 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST_F_FORK()
683 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in enforce_ruleset()
/Linux-v6.6/tools/include/uapi/linux/
Dprctl.h175 #define PR_SET_NO_NEW_PRIVS 38 macro
/Linux-v6.6/include/uapi/linux/
Dprctl.h175 #define PR_SET_NO_NEW_PRIVS 38 macro
/Linux-v6.6/tools/perf/bench/
Dsched-seccomp-notify.c107 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in bench_sched_seccomp_notify()
/Linux-v6.6/samples/landlock/
Dsandboxer.c289 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in main()
/Linux-v6.6/Documentation/userspace-api/
Dno_new_privs.rst34 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
Dlandlock.rst153 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) {
/Linux-v6.6/kernel/
Dsys.c2568 case PR_SET_NO_NEW_PRIVS: in SYSCALL_DEFINE5()