Searched refs:PR_SET_NO_NEW_PRIVS (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.10/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 66 #ifndef PR_SET_NO_NEW_PRIVS 67 #define PR_SET_NO_NEW_PRIVS 38 macro 352 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 363 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, NULL, 0, 0); in TEST() 420 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 457 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 491 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 514 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 539 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() [all …]
|
D | seccomp_benchmark.c | 101 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in main()
|
/Linux-v5.10/samples/seccomp/ |
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()
|
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()
|
D | dropper.c | 45 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in install_filter()
|
/Linux-v5.10/include/uapi/linux/ |
D | prctl.h | 175 #define PR_SET_NO_NEW_PRIVS 38 macro
|
/Linux-v5.10/tools/include/uapi/linux/ |
D | prctl.h | 175 #define PR_SET_NO_NEW_PRIVS 38 macro
|
/Linux-v5.10/Documentation/userspace-api/ |
D | no_new_privs.rst | 34 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
|
D | seccomp_filter.rst | 71 Prior to use, the task must call ``prctl(PR_SET_NO_NEW_PRIVS, 1)`` or
|
/Linux-v5.10/kernel/ |
D | sys.c | 2443 case PR_SET_NO_NEW_PRIVS: in SYSCALL_DEFINE5()
|