Home
last modified time | relevance | path

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

12

/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/
Dseccomp_bpf_tests.c32 #ifndef PR_SET_NO_NEW_PRIVS
33 #define PR_SET_NO_NEW_PRIVS 38 macro
102 long ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
110 long ret = prctl(PR_SET_NO_NEW_PRIVS, 1, NULL, 0, 0); in TEST()
154 long ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
175 long ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
190 long ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
207 long ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST_SIGNAL()
227 long ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST_SIGNAL()
246 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.c56 #ifndef PR_SET_NO_NEW_PRIVS
57 #define PR_SET_NO_NEW_PRIVS 38 macro
210 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
221 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, NULL, 0, 0); in TEST()
278 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
315 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
349 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in TEST()
372 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()
414 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()
/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/strace/xlat/
Dprctl_options.h258 #if defined(PR_SET_NO_NEW_PRIVS) || (defined(HAVE_DECL_PR_SET_NO_NEW_PRIVS) && HAVE_DECL_PR_SET_NO_…
260 static_assert((PR_SET_NO_NEW_PRIVS) == (38), "PR_SET_NO_NEW_PRIVS != 38");
263 # define PR_SET_NO_NEW_PRIVS 38
410 XLAT(PR_SET_NO_NEW_PRIVS),
Dprctl_options.in37 PR_SET_NO_NEW_PRIVS 38
/external/strace/tests/
Dprctl-seccomp-filter-v.c47 && defined PR_SET_NO_NEW_PRIVS \
128 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) in main()
Dseccomp-filter-v.c48 && defined PR_SET_NO_NEW_PRIVS \
108 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) in main()
/external/strace/tests-mx32/
Dprctl-seccomp-filter-v.c47 && defined PR_SET_NO_NEW_PRIVS \
128 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) in main()
Dseccomp-filter-v.c48 && defined PR_SET_NO_NEW_PRIVS \
108 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) in main()
/external/strace/tests-m32/
Dprctl-seccomp-filter-v.c47 && defined PR_SET_NO_NEW_PRIVS \
128 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) in main()
Dseccomp-filter-v.c48 && defined PR_SET_NO_NEW_PRIVS \
108 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/libchrome/base/process/
Dlaunch_posix.cc481 #ifndef PR_SET_NO_NEW_PRIVS in LaunchProcess()
482 #define PR_SET_NO_NEW_PRIVS 38 in LaunchProcess() macro
485 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) && errno != EINVAL) { in LaunchProcess()
/external/kernel-headers/original/uapi/linux/
Dprctl.h175 #define PR_SET_NO_NEW_PRIVS 38 macro
/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/openssh/
Dsandbox-seccomp-filter.c330 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) == -1) { in ssh_sandbox_child()
/external/strace/
Dprctl.c387 case PR_SET_NO_NEW_PRIVS: in SYS_FUNC()
/external/syzkaller/sys/linux/
Dsys_386.const424 PR_SET_NO_NEW_PRIVS = 38
Dsys_amd64.const424 PR_SET_NO_NEW_PRIVS = 38
Dsys_arm.const424 PR_SET_NO_NEW_PRIVS = 38
Dsys_ppc64le.const424 PR_SET_NO_NEW_PRIVS = 38

12