| /linux/tools/testing/selftests/seccomp/ |
| H A D | seccomp_bpf.c | 85 #ifndef PR_SET_NO_NEW_PRIVS 86 #define PR_SET_NO_NEW_PRIVS 38 macro 389 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 400 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, NULL, 0, 0); in TEST() 459 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 496 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 530 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 553 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 578 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 595 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/tools/testing/selftests/landlock/ |
| H A D | tsync_test.c | 39 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST() 76 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST() 100 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST() 147 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST() 218 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST()
|
| 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)); 475 EXPECT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0));
|
| H A D | audit_test.c | 91 EXPECT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST_F() 243 EXPECT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST_F() 372 EXPECT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in TEST_F() 578 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST_F()
|
| H A D | sandbox-and-launch.c | 46 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in main()
|
| H A D | common.h | 200 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()
|
| /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()
|
| /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)`` 或者在它的
|
| /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()
|
| /linux/tools/include/uapi/linux/ |
| H A D | prctl.h | 175 #define PR_SET_NO_NEW_PRIVS 38 macro
|
| /linux/include/uapi/linux/ |
| H A D | prctl.h | 175 #define PR_SET_NO_NEW_PRIVS 38 macro
|
| /linux/tools/perf/trace/beauty/include/uapi/linux/ |
| H A D | prctl.h | 175 #define PR_SET_NO_NEW_PRIVS 38 macro
|
| /linux/arch/um/kernel/skas/ |
| H A D | stub_exe.c | 41 stub_syscall5(__NR_prctl, PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in real_init()
|
| /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
|
| /linux/arch/um/os-Linux/ |
| H A D | start_up.c | 282 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in seccomp_helper()
|
| /linux/samples/landlock/ |
| H A D | sandboxer.c | 517 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in main()
|
| /linux/tools/testing/selftests/tty/ |
| H A D | tty_tiocsti_test.c | 337 ASSERT_EQ(prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0), 0); in drop_all_privs()
|
| /linux/tools/testing/selftests/namespaces/ |
| H A D | listns_permissions_test.c | 724 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
|