Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/selftests/seccomp/
Dseccomp_bpf.c57 #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 …]
Dseccomp_benchmark.c83 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in main()
/Linux-v5.4/samples/seccomp/
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()
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()
Ddropper.c45 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in install_filter()
/Linux-v5.4/include/uapi/linux/
Dprctl.h175 #define PR_SET_NO_NEW_PRIVS 38 macro
/Linux-v5.4/tools/include/uapi/linux/
Dprctl.h175 #define PR_SET_NO_NEW_PRIVS 38 macro
/Linux-v5.4/Documentation/userspace-api/
Dno_new_privs.rst34 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
Dseccomp_filter.rst71 Prior to use, the task must call ``prctl(PR_SET_NO_NEW_PRIVS, 1)`` or
/Linux-v5.4/kernel/
Dsys.c2422 case PR_SET_NO_NEW_PRIVS: in SYSCALL_DEFINE5()