Searched refs:PR_SET_NO_NEW_PRIVS (Results 1 – 10 of 10) sorted by relevance
| /Linux-v5.4/tools/testing/selftests/seccomp/ |
| D | seccomp_bpf.c | 57 #ifndef PR_SET_NO_NEW_PRIVS 58 #define PR_SET_NO_NEW_PRIVS 38 macro 258 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 269 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, NULL, 0, 0); in TEST() 326 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 363 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 397 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 420 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 445 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 462 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() [all …]
|
| D | seccomp_benchmark.c | 83 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in main()
|
| /Linux-v5.4/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.4/include/uapi/linux/ |
| D | prctl.h | 175 #define PR_SET_NO_NEW_PRIVS 38 macro
|
| /Linux-v5.4/tools/include/uapi/linux/ |
| D | prctl.h | 175 #define PR_SET_NO_NEW_PRIVS 38 macro
|
| /Linux-v5.4/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.4/kernel/ |
| D | sys.c | 2422 case PR_SET_NO_NEW_PRIVS: in SYSCALL_DEFINE5()
|