/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/ |
D | seccomp_bpf_tests.c | 82 long ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_STRICT, NULL, NULL, NULL); in TEST() 90 long ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_STRICT, NULL, NULL, NULL); in TEST_SIGNAL() 94 syscall(__NR_prctl, PR_SET_SECCOMP, SECCOMP_MODE_FILTER, NULL, NULL, NULL); in TEST_SIGNAL() 114 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, NULL, NULL, NULL); in TEST() 134 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() 157 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() 160 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_STRICT, NULL, 0, 0); in TEST() 178 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog); in TEST() 193 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog); in TEST() 210 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog); in TEST_SIGNAL() [all …]
|
D | sigsegv.c | 175 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->prog); in TEST_F_SIGNAL()
|
D | resumption.c | 202 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->prog); in TEST_F()
|
/external/seccomp-tests/linux/ |
D | seccomp_bpf.c | 106 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_STRICT, NULL, NULL, NULL); in TEST() 117 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_STRICT, NULL, NULL, NULL); in TEST_SIGNAL() 121 syscall(__NR_prctl, PR_SET_SECCOMP, SECCOMP_MODE_FILTER, in TEST_SIGNAL() 148 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, NULL, NULL, NULL); in TEST() 171 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() 208 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() 215 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() 244 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() 251 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() 275 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() [all …]
|
/external/linux-kselftest/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 241 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_STRICT, NULL, NULL, NULL); in TEST() 252 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_STRICT, NULL, NULL, NULL); in TEST_SIGNAL() 256 syscall(__NR_prctl, PR_SET_SECCOMP, SECCOMP_MODE_FILTER, in TEST_SIGNAL() 283 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, NULL, NULL, NULL); in TEST() 306 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() 343 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() 350 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() 379 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() 386 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() 410 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() [all …]
|
D | seccomp_benchmark.c | 86 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog); in main()
|
/external/strace/tests/ |
D | prctl-seccomp-strict.c | 34 #if defined HAVE_PRCTL && defined PR_SET_SECCOMP && defined __NR_exit 46 int rc = prctl(PR_SET_SECCOMP, -1L, 1, 2, 3); in main() 51 rc = prctl(PR_SET_SECCOMP, 1); in main()
|
D | prctl-seccomp-filter-v.c | 48 && defined PR_SET_SECCOMP \ 130 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog)) in main()
|
/external/strace/tests-m32/ |
D | prctl-seccomp-strict.c | 34 #if defined HAVE_PRCTL && defined PR_SET_SECCOMP && defined __NR_exit 46 int rc = prctl(PR_SET_SECCOMP, -1L, 1, 2, 3); in main() 51 rc = prctl(PR_SET_SECCOMP, 1); in main()
|
D | prctl-seccomp-filter-v.c | 48 && defined PR_SET_SECCOMP \ 130 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog)) in main()
|
/external/strace/tests-mx32/ |
D | prctl-seccomp-strict.c | 34 #if defined HAVE_PRCTL && defined PR_SET_SECCOMP && defined __NR_exit 46 int rc = prctl(PR_SET_SECCOMP, -1L, 1, 2, 3); in main() 51 rc = prctl(PR_SET_SECCOMP, 1); in main()
|
D | prctl-seccomp-filter-v.c | 48 && defined PR_SET_SECCOMP \ 130 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog)) in main()
|
/external/ltp/testcases/kernel/syscalls/prctl/ |
D | prctl02.c | 86 {PR_SET_SECCOMP, &num_2, &bad_addr, EFAULT, "PR_SET_SECCOMP"}, 87 {PR_SET_SECCOMP, &num_2, &strict_addr, EACCES, "PR_SET_SECCOMP"}, 107 case PR_SET_SECCOMP: in verify_prctl() 152 if (tc->option == PR_SET_SECCOMP && TST_ERR == EINVAL) in verify_prctl()
|
D | prctl04.c | 115 TEST(prctl(PR_SET_SECCOMP, SECCOMP_MODE_STRICT)); in check_strict_mode() 151 TEST(prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &strict)); in check_filter_mode()
|
/external/ltp/include/lapi/ |
D | prctl.h | 17 #ifndef PR_SET_SECCOMP 19 # define PR_SET_SECCOMP 22 macro
|
/external/strace/xlat/ |
D | prctl_options.h | 139 #if defined(PR_SET_SECCOMP) || (defined(HAVE_DECL_PR_SET_SECCOMP) && HAVE_DECL_PR_SET_SECCOMP) 141 static_assert((PR_SET_SECCOMP) == (22), "PR_SET_SECCOMP != 22"); 144 # define PR_SET_SECCOMP 22 393 XLAT(PR_SET_SECCOMP),
|
D | prctl_options.in | 20 PR_SET_SECCOMP 22
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
D | read_binary_name_regtest.c | 46 int res = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in main()
|
/external/llvm-project/compiler-rt/test/asan/TestCases/Linux/ |
D | read_binary_name_regtest.c | 51 int res = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in main()
|
/external/libcap/libcap/include/uapi/linux/ |
D | prctl.h | 67 #define PR_SET_SECCOMP 22 macro
|
/external/kernel-headers/original/uapi/linux/ |
D | prctl.h | 68 #define PR_SET_SECCOMP 22 macro
|
/external/strace/ |
D | prctl.c | 354 case PR_SET_SECCOMP: in SYS_FUNC()
|
/external/openssh/ |
D | sandbox-seccomp-filter.c | 408 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &preauth_program) == -1) in ssh_sandbox_child()
|
/external/minijail/ |
D | libminijail.c | 984 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, NULL) == -1) { in seccomp_should_use_filters() 2182 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, in set_seccomp_filter() 2435 if (j->flags.seccomp && prctl(PR_SET_SECCOMP, 1)) { in minijail_enter()
|
/external/minijail/linux-x86/ |
D | libconstants.gen.c | 3967 #ifdef PR_SET_SECCOMP 3968 { "PR_SET_SECCOMP", (unsigned long) PR_SET_SECCOMP },
|