Searched refs:PR_SET_NO_NEW_PRIVS (Results 1 – 7 of 7) sorted by relevance
/linux-4.4.14/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 46 #ifndef PR_SET_NO_NEW_PRIVS 47 #define PR_SET_NO_NEW_PRIVS 38 macro 133 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 144 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, NULL, 0, 0); in TEST() 201 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 238 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 272 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 295 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 320 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() 337 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST() [all …]
|
/linux-4.4.14/samples/seccomp/ |
D | bpf-fancy.c | 22 #ifndef PR_SET_NO_NEW_PRIVS 23 #define PR_SET_NO_NEW_PRIVS 38 macro 87 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in main()
|
D | bpf-direct.c | 53 #ifndef PR_SET_NO_NEW_PRIVS 54 #define PR_SET_NO_NEW_PRIVS 38 macro 149 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in install_filter()
|
/linux-4.4.14/include/uapi/linux/ |
D | prctl.h | 174 #define PR_SET_NO_NEW_PRIVS 38 macro
|
/linux-4.4.14/Documentation/prctl/ |
D | no_new_privs.txt | 28 To set no_new_privs, use prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0).
|
D | seccomp_filter.txt | 69 Prior to use, the task must call prctl(PR_SET_NO_NEW_PRIVS, 1) or
|
/linux-4.4.14/kernel/ |
D | sys.c | 2228 case PR_SET_NO_NEW_PRIVS: in SYSCALL_DEFINE5()
|