Home
last modified time | relevance | path

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

/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/
Dseccomp_bpf_tests.c40 #ifndef PR_SET_NO_NEW_PRIVS
41 #define PR_SET_NO_NEW_PRIVS 38 macro
110 long ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
118 long ret = prctl(PR_SET_NO_NEW_PRIVS, 1, NULL, 0, 0); in TEST()
162 long ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
183 long ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
198 long ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
215 long ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST_SIGNAL()
235 long ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST_SIGNAL()
254 long ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST_SIGNAL()
[all …]
Dsigsegv.c31 #ifndef PR_SET_NO_NEW_PRIVS
32 #define PR_SET_NO_NEW_PRIVS 38 macro
173 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST_F_SIGNAL()
Dresumption.c27 #ifndef PR_SET_NO_NEW_PRIVS
28 #define PR_SET_NO_NEW_PRIVS 38 macro
200 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST_F()
/external/linux-kselftest/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 …]
/external/seccomp-tests/linux/
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 …]
/external/libchrome/sandbox/linux/system_headers/
Dlinux_seccomp.h60 #ifndef PR_SET_NO_NEW_PRIVS
61 #define PR_SET_NO_NEW_PRIVS 38 macro
/external/strace/xlat/
Dprctl_options.h110 #if !(defined(PR_SET_NO_NEW_PRIVS) || (defined(HAVE_DECL_PR_SET_NO_NEW_PRIVS) && HAVE_DECL_PR_SET_N…
111 # define PR_SET_NO_NEW_PRIVS 38 macro
188 XLAT(PR_SET_NO_NEW_PRIVS),
Dprctl_options.in37 PR_SET_NO_NEW_PRIVS 38
/external/strace/tests-m32/
Dprctl-seccomp-filter-v.c48 && defined PR_SET_NO_NEW_PRIVS \
129 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) in main()
Dseccomp-filter-v.c50 && defined PR_SET_NO_NEW_PRIVS \
114 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) in main()
/external/strace/tests/
Dprctl-seccomp-filter-v.c48 && defined PR_SET_NO_NEW_PRIVS \
129 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) in main()
Dseccomp-filter-v.c50 && defined PR_SET_NO_NEW_PRIVS \
114 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) in main()
/external/strace/tests-mx32/
Dprctl-seccomp-filter-v.c48 && defined PR_SET_NO_NEW_PRIVS \
129 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) in main()
Dseccomp-filter-v.c50 && defined PR_SET_NO_NEW_PRIVS \
114 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) in main()
/external/compiler-rt/test/asan/TestCases/Linux/
Dread_binary_name_regtest.c30 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in main()
/external/libcap/libcap/include/uapi/linux/
Dprctl.h147 #define PR_SET_NO_NEW_PRIVS 38 macro
/external/kernel-headers/original/uapi/linux/
Dprctl.h174 #define PR_SET_NO_NEW_PRIVS 38 macro
/external/libchrome/base/process/
Dlaunch_posix.cc469 #ifndef PR_SET_NO_NEW_PRIVS in LaunchProcess()
470 #define PR_SET_NO_NEW_PRIVS 38 in LaunchProcess() macro
473 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) && errno != EINVAL) { in LaunchProcess()
/external/libchrome/sandbox/linux/seccomp-bpf/
Dsandbox_bpf.cc256 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in InstallFilter()
/external/minijail/linux-x86/
Dlibconstants.gen.c947 #ifdef PR_SET_NO_NEW_PRIVS
948 { "PR_SET_NO_NEW_PRIVS", (unsigned long) PR_SET_NO_NEW_PRIVS },
/external/strace/
Dprctl.c320 case PR_SET_NO_NEW_PRIVS: in SYS_FUNC()
/external/openssh/
Dsandbox-seccomp-filter.c330 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) == -1) { in ssh_sandbox_child()
Dconfigure.ac106 AC_CHECK_DECL([PR_SET_NO_NEW_PRIVS], [have_linux_no_new_privs=1], , [
3280 AC_MSG_ERROR([seccomp_filter sandbox requires PR_SET_NO_NEW_PRIVS])
/external/minijail/
Dlibminijail.c51 #ifndef PR_SET_NO_NEW_PRIVS
52 # define PR_SET_NO_NEW_PRIVS 38 macro
1540 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) in set_seccomp_filter()