/openbmc/linux/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); 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 …]
|
H A D | seccomp_benchmark.c | 167 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in main()
|
/openbmc/linux/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)) { in main()
|
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)) { in install_filter()
|
H A D | dropper.c | 49 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in install_filter()
|
/openbmc/linux/tools/testing/selftests/landlock/ |
H A D | base_test.c | 221 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 D | ptrace_test.c | 41 EXPECT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in create_domain()
|
H A D | fs_test.c | 518 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST_F_FORK() 685 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in enforce_ruleset()
|
/openbmc/linux/Documentation/translations/zh_CN/userspace-api/ |
H A D | no_new_privs.rst | 35 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
|
H A D | seccomp_filter.rst | 63 在调用之前,进程必须调用 ``prctl(PR_SET_NO_NEW_PRIVS, 1)`` 或者在它的
|
/openbmc/linux/include/uapi/linux/ |
H A D | prctl.h | 175 #define PR_SET_NO_NEW_PRIVS 38 macro
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | prctl.h | 175 #define PR_SET_NO_NEW_PRIVS 38 macro
|
/openbmc/linux/tools/perf/bench/ |
H A D | sched-seccomp-notify.c | 107 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in bench_sched_seccomp_notify()
|
/openbmc/linux/samples/landlock/ |
H A D | sandboxer.c | 296 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in main()
|
/openbmc/linux/Documentation/userspace-api/ |
H A D | no_new_privs.rst | 34 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
|
H A D | seccomp_filter.rst | 71 Prior to use, the task must call ``prctl(PR_SET_NO_NEW_PRIVS, 1)`` or
|
H A D | landlock.rst | 153 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) {
|
/openbmc/qemu/system/ |
H A D | qemu-seccomp.c | 392 if (prctl(PR_SET_NO_NEW_PRIVS, 1)) { in parse_sandbox()
|
/openbmc/linux/kernel/ |
H A D | sys.c | 2595 case PR_SET_NO_NEW_PRIVS: in SYSCALL_DEFINE5()
|
/openbmc/qemu/linux-user/ |
H A D | syscall.c | 6465 case PR_SET_NO_NEW_PRIVS: in do_prctl()
|