Home
last modified time | relevance | path

Searched refs:PR_SET_NO_NEW_PRIVS (Results 1 – 7 of 7) sorted by relevance

/linux-4.4.14/tools/testing/selftests/seccomp/
Dseccomp_bpf.c46 #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/
Dbpf-fancy.c22 #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()
Dbpf-direct.c53 #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/
Dprctl.h174 #define PR_SET_NO_NEW_PRIVS 38 macro
/linux-4.4.14/Documentation/prctl/
Dno_new_privs.txt28 To set no_new_privs, use prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0).
Dseccomp_filter.txt69 Prior to use, the task must call prctl(PR_SET_NO_NEW_PRIVS, 1) or
/linux-4.4.14/kernel/
Dsys.c2228 case PR_SET_NO_NEW_PRIVS: in SYSCALL_DEFINE5()