Home
last modified time | relevance | path

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

/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/
Dseccomp_bpf_tests.c70 #define SECCOMP_RET_ALLOW 0x7fff0000U // allow macro
131 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in TEST()
155 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in TEST()
176 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in TEST()
267 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in TEST_SIGNAL()
290 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in TEST_SIGNAL()
295 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in TEST_SIGNAL()
320 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in TEST_SIGNAL()
325 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in TEST_SIGNAL()
350 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in TEST()
[all …]
Dresumption.c102 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in FIXTURE_SETUP()
111 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in FIXTURE_SETUP()
Dsigsegv.c80 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in FIXTURE_SETUP()
/external/linux-kselftest/tools/testing/selftests/seccomp/
Dseccomp_bpf.c76 #define SECCOMP_RET_ALLOW 0x7fff0000U /* allow */ macro
158 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
189 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
226 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
264 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
287 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
312 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
413 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST_SIGNAL()
440 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST_SIGNAL()
446 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST_SIGNAL()
[all …]
/external/seccomp-tests/linux/
Dseccomp_bpf.c76 #define SECCOMP_RET_ALLOW 0x7fff0000U /* allow */ macro
158 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
189 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
226 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
264 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
287 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
312 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
413 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST_SIGNAL()
440 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST_SIGNAL()
446 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST_SIGNAL()
[all …]
/external/strace/xlat/
Dseccomp_ret_action.h23 #if defined(SECCOMP_RET_ALLOW) || (defined(HAVE_DECL_SECCOMP_RET_ALLOW) && HAVE_DECL_SECCOMP_RET_AL…
24 XLAT(SECCOMP_RET_ALLOW),
Dseccomp_ret_action.in5 SECCOMP_RET_ALLOW
/external/minijail/
Dsyscall_filter_unittest_macros.h88 BPF_RET+BPF_K, SECCOMP_RET_ALLOW); \
104 BPF_RET+BPF_K, SECCOMP_RET_ALLOW); \
Dbpf.h51 #define SECCOMP_RET_ALLOW 0x7fff0000U /* allow */ macro
164 set_bpf_stmt((_block), BPF_RET+BPF_K, SECCOMP_RET_ALLOW)
Dbpf.c30 set_bpf_stmt(curr_block++, BPF_RET + BPF_K, SECCOMP_RET_ALLOW); in bpf_allow_syscall()
/external/kernel-headers/original/uapi/linux/
Dseccomp.h32 #define SECCOMP_RET_ALLOW 0x7fff0000U /* allow */ macro
/external/openssh/
Dsandbox-seccomp-filter.c82 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW)
89 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), \
/external/compiler-rt/test/asan/TestCases/Linux/
Dread_binary_name_regtest.c40 BPF_STMT(BPF_RET + BPF_K, SECCOMP_RET_ALLOW) in main()
/external/libchrome/sandbox/linux/system_headers/
Dlinux_seccomp.h96 #define SECCOMP_RET_ALLOW 0x7fff0000U // Allow macro
/external/strace/tests-mx32/
Dprctl-seccomp-filter-v.c57 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW)
Dseccomp-filter-v.c57 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW)
/external/strace/tests/
Dprctl-seccomp-filter-v.c57 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW)
Dseccomp-filter-v.c57 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW)
/external/strace/tests-m32/
Dprctl-seccomp-filter-v.c57 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW)
Dseccomp-filter-v.c57 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW)
/external/libchrome/sandbox/linux/bpf_dsl/
Dbpf_dsl.cc32 bool IsAllow() const override { return IsAction(SECCOMP_RET_ALLOW); } in IsAllow()
239 return std::make_shared<ReturnResultExprImpl>(SECCOMP_RET_ALLOW); in Allow()
Ddump_bpf.cc122 } else if (insn.k == SECCOMP_RET_ALLOW) { in AppendInstruction()
Dverifier.cc200 case SECCOMP_RET_ALLOW: in EvaluateBPF()
Dbpf_dsl_unittest.cc89 EXPECT_EQ(SECCOMP_RET_ALLOW, Emulate(data)); in ExpectAllow()