| /linux-6.15/tools/testing/selftests/seccomp/ |
| H A D | seccomp_bpf.c | 76 #ifndef PR_SET_NO_NEW_PRIVS 77 #define PR_SET_NO_NEW_PRIVS 38 macro 380 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 450 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 487 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 521 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 544 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 569 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 586 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 606 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() [all …]
|
| H A D | seccomp_benchmark.c | 220 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in main()
|
| /linux-6.15/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()
|
| /linux-6.15/tools/testing/selftests/landlock/ |
| H A D | sandbox-and-launch.c | 46 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in main()
|
| H A D | audit_test.c | 90 EXPECT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST_F() 242 EXPECT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST_F() 371 EXPECT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST_F() 577 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST_F()
|
| H A D | base_test.c | 265 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST() 427 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST() 475 EXPECT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST()
|
| H A D | common.h | 204 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in enforce_ruleset()
|
| 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 | scoped_abstract_unix_test.c | 43 EXPECT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in create_fs_domain()
|
| H A D | fs_test.c | 565 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST_F_FORK() 2549 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST_F_FORK()
|
| /linux-6.15/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)`` 或者在它的
|
| /linux-6.15/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()
|
| /linux-6.15/tools/include/uapi/linux/ |
| H A D | prctl.h | 175 #define PR_SET_NO_NEW_PRIVS 38 macro
|
| /linux-6.15/include/uapi/linux/ |
| H A D | prctl.h | 175 #define PR_SET_NO_NEW_PRIVS 38 macro
|
| /linux-6.15/tools/perf/trace/beauty/include/uapi/linux/ |
| H A D | prctl.h | 175 #define PR_SET_NO_NEW_PRIVS 38 macro
|
| /linux-6.15/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 | 201 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) {
|
| /linux-6.15/samples/landlock/ |
| H A D | sandboxer.c | 513 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in main()
|
| /linux-6.15/kernel/ |
| H A D | sys.c | 2635 case PR_SET_NO_NEW_PRIVS: in SYSCALL_DEFINE5()
|