Home
last modified time | relevance | path

Searched refs:PR_SET_NO_NEW_PRIVS (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c66 #ifndef PR_SET_NO_NEW_PRIVS
67 #define PR_SET_NO_NEW_PRIVS 38 macro
354 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
356 TH_LOG("Kernel does not support PR_SET_NO_NEW_PRIVS!"); in TEST()
365 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, NULL, 0, 0); in TEST()
367 TH_LOG("Kernel does not support PR_SET_NO_NEW_PRIVS!"); in TEST()
422 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
459 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
493 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
516 ret = prctl(PR_SET_NO_NEW_PRIVS, in TEST()
[all...]
H A Dseccomp_benchmark.c101 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in main()
/kernel/linux/linux-6.6/tools/testing/selftests/seccomp/
H A 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()
369 TH_LOG("Kernel does not support PR_SET_NO_NEW_PRIVS!"); in TEST()
378 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, NULL, 0, 0); in TEST()
380 TH_LOG("Kernel does not support PR_SET_NO_NEW_PRIVS!"); 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, in TEST()
[all...]
H A Dseccomp_benchmark.c167 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in main()
/kernel/linux/linux-5.10/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.c45 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in install_filter()
/kernel/linux/linux-6.6/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()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dprctl.h103 #define PR_SET_NO_NEW_PRIVS 38 macro
/kernel/linux/linux-6.6/tools/testing/selftests/landlock/
H A 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()
H A Dptrace_test.c41 EXPECT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in create_domain()
H A Dfs_test.c518 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()
/kernel/linux/linux-5.10/tools/include/uapi/linux/
H A Dprctl.h175 #define PR_SET_NO_NEW_PRIVS 38 macro
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dprctl.h175 #define PR_SET_NO_NEW_PRIVS 38 macro
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dprctl.h175 #define PR_SET_NO_NEW_PRIVS 38 macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dprctl.h116 #define PR_SET_NO_NEW_PRIVS 38 macro
/kernel/linux/linux-6.6/tools/include/uapi/linux/
H A Dprctl.h175 #define PR_SET_NO_NEW_PRIVS 38 macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dprctl.h116 #define PR_SET_NO_NEW_PRIVS 38 macro
/kernel/linux/linux-6.6/tools/perf/bench/
H A Dsched-seccomp-notify.c107 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in bench_sched_seccomp_notify()
/kernel/linux/linux-6.6/samples/landlock/
H A Dsandboxer.c289 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in main()
/kernel/linux/linux-5.10/kernel/
H A Dsys.c2514 case PR_SET_NO_NEW_PRIVS: in SYSCALL_DEFINE5()
/kernel/linux/linux-6.6/kernel/
H A Dsys.c2592 case PR_SET_NO_NEW_PRIVS: in SYSCALL_DEFINE5()

Completed in 26 milliseconds