/external/strace/xlat/ |
D | seccomp_ret_action.h | 17 #if defined(SECCOMP_RET_ERRNO) || (defined(HAVE_DECL_SECCOMP_RET_ERRNO) && HAVE_DECL_SECCOMP_RET_ER… 18 XLAT(SECCOMP_RET_ERRNO),
|
D | seccomp_ret_action.in | 3 SECCOMP_RET_ERRNO
|
/external/strace/tests-m32/ |
D | prctl-seccomp-filter-v.c | 51 && defined SECCOMP_RET_ERRNO \ 61 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO|(SECCOMP_RET_DATA & (err)))
|
D | seccomp-filter-v.c | 52 && defined SECCOMP_RET_ERRNO \ 62 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO|(SECCOMP_RET_DATA & (err)))
|
/external/strace/tests/ |
D | prctl-seccomp-filter-v.c | 51 && defined SECCOMP_RET_ERRNO \ 61 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO|(SECCOMP_RET_DATA & (err)))
|
D | seccomp-filter-v.c | 52 && defined SECCOMP_RET_ERRNO \ 62 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO|(SECCOMP_RET_DATA & (err)))
|
/external/strace/tests-mx32/ |
D | prctl-seccomp-filter-v.c | 51 && defined SECCOMP_RET_ERRNO \ 61 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO|(SECCOMP_RET_DATA & (err)))
|
D | seccomp-filter-v.c | 52 && defined SECCOMP_RET_ERRNO \ 62 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO|(SECCOMP_RET_DATA & (err)))
|
/external/minijail/ |
D | bpf.h | 50 #define SECCOMP_RET_ERRNO 0x00050000U /* return -1 and set errno */ macro 161 SECCOMP_RET_ERRNO | ((_errno) & SECCOMP_RET_DATA))
|
D | syscall_filter_unittest.cc | 653 SECCOMP_RET_ERRNO | (1 & SECCOMP_RET_DATA)); in TEST_F() 688 SECCOMP_RET_ERRNO | (1 & SECCOMP_RET_DATA)); in TEST_F()
|
/external/kernel-headers/original/uapi/linux/ |
D | seccomp.h | 30 #define SECCOMP_RET_ERRNO 0x00050000U /* returns an errno */ macro
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
D | read_binary_name_regtest.c | 38 BPF_STMT(BPF_RET + BPF_K, SECCOMP_RET_ERRNO | EPERM), in main()
|
/external/libchrome/sandbox/linux/system_headers/ |
D | linux_seccomp.h | 94 #define SECCOMP_RET_ERRNO 0x00050000U // Returns an errno macro
|
/external/libchrome/sandbox/linux/bpf_dsl/ |
D | bpf_dsl.cc | 35 return IsAction(SECCOMP_RET_ERRNO) || IsAction(SECCOMP_RET_KILL); in IsDeny() 244 return std::make_shared<ReturnResultExprImpl>(SECCOMP_RET_ERRNO + err); in Error()
|
D | dump_bpf.cc | 116 } else if ((insn.k & SECCOMP_RET_ACTION) == SECCOMP_RET_ERRNO) { in AppendInstruction()
|
D | verifier.cc | 201 case SECCOMP_RET_ERRNO: in EvaluateBPF()
|
D | policy_compiler.cc | 432 if (has_unsafe_traps_ && (ret & SECCOMP_RET_ACTION) == SECCOMP_RET_ERRNO) { in Return()
|
D | bpf_dsl_unittest.cc | 93 EXPECT_EQ(SECCOMP_RET_ERRNO | err, Emulate(data)); in ExpectErrno()
|
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/ |
D | seccomp_bpf_tests.c | 68 #define SECCOMP_RET_ERRNO 0x00050000U // returns an errno macro 369 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ERRNO | E2BIG), in TEST() 393 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ERRNO | 0), in TEST() 537 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ERRNO), in FIXTURE_SETUP() 1160 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ERRNO | EINVAL),
|
/external/linux-kselftest/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 74 #define SECCOMP_RET_ERRNO 0x00050000U /* returns an errno */ macro 550 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO | E2BIG), in TEST() 577 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO | 0), in TEST() 604 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO | 4096), in TEST() 761 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO), in FIXTURE_SETUP() 1539 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO | EPERM), in TEST_F() 1600 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO | EPERM), in TEST_F() 1952 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO | EINVAL), in TEST_F()
|
/external/openssh/ |
D | sandbox-seccomp-filter.c | 89 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ERRNO|(_errno))
|
/external/seccomp-tests/linux/ |
D | seccomp_bpf.c | 74 #define SECCOMP_RET_ERRNO 0x00050000U /* returns an errno */ macro 550 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO | E2BIG), in TEST() 577 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO | 0), in TEST() 604 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO | 4096), in TEST() 761 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO), in FIXTURE_SETUP() 1766 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO | EINVAL), in TEST_F()
|
/external/strace/ |
D | ChangeLog | 25311 exceed 4095, but SECCOMP_RET_ERRNO support introduced by kernel commit 25626 flag is set in ptrace_setoptions. Remove all SECCOMP_RET_ERRNO 25709 BPF_STMT(BPF_RET, SECCOMP_RET_ERRNO | SECCOMP_RET_DATA) 25715 x86, x32, x86_64: print SECCOMP_RET_ERRNO filtered syscalls. 25716 This is required to process SECCOMP_RET_ERRNO filtered syscalls on 25741 Syscall number -1 might be a side effect of SECCOMP_RET_ERRNO filtering. 25749 Syscall number -1 might be a side effect of SECCOMP_RET_ERRNO filtering.
|