/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/ |
D | seccomp_bpf_tests.c | 123 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in TEST() 147 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in TEST() 168 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in TEST() 200 BPF_STMT(BPF_RET+BPF_K, 0x10000000U), in TEST_SIGNAL() 220 BPF_STMT(BPF_RET+BPF_K, 0x90000000U), in TEST_SIGNAL() 239 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_KILL), in TEST_SIGNAL() 258 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_KILL), in TEST_SIGNAL() 259 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in TEST_SIGNAL() 282 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in TEST_SIGNAL() 286 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_KILL), in TEST_SIGNAL() [all …]
|
D | resumption.c | 102 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() 112 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_TRAP), in FIXTURE_SETUP()
|
D | sigsegv.c | 80 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in FIXTURE_SETUP() 81 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_TRAP), in FIXTURE_SETUP()
|
/external/linux-kselftest/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 235 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST() 266 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST() 303 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST() 341 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST() 364 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST() 389 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST() 426 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_LOG), 449 BPF_STMT(BPF_RET|BPF_K, 0x10000000U), in TEST_SIGNAL() 471 BPF_STMT(BPF_RET|BPF_K, 0x90000000U), in TEST_SIGNAL() 492 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL), in TEST_SIGNAL() [all …]
|
/external/strace/xlat/ |
D | bpf_class.h | 48 #if defined(BPF_RET) || (defined(HAVE_DECL_BPF_RET) && HAVE_DECL_BPF_RET) 50 static_assert((BPF_RET) == (0x6), "BPF_RET != 0x6"); 53 # define BPF_RET 0x6 79 [BPF_RET] = XLAT(BPF_RET),
|
D | bpf_class.in | 8 BPF_RET 0x6
|
/external/seccomp-tests/linux/ |
D | seccomp_bpf.c | 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() 348 BPF_STMT(BPF_RET|BPF_K, 0x10000000U), in TEST_SIGNAL() 370 BPF_STMT(BPF_RET|BPF_K, 0x90000000U), in TEST_SIGNAL() 391 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL), in TEST_SIGNAL() 412 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL), in TEST_SIGNAL() [all …]
|
/external/minijail/ |
D | syscall_filter_unittest_macros.h | 69 BPF_RET+BPF_K, SECCOMP_RET_KILL); \ 76 BPF_RET+BPF_K, SECCOMP_RET_TRAP); \ 84 BPF_RET+BPF_K, SECCOMP_RET_ALLOW); \ 92 EXPECT_EQ_STMT(&(_filter)[2], BPF_RET+BPF_K, SECCOMP_RET_KILL); \ 100 BPF_RET+BPF_K, SECCOMP_RET_ALLOW); \
|
D | bpf.h | 166 set_bpf_stmt((_block), BPF_RET+BPF_K, SECCOMP_RET_KILL) 169 set_bpf_stmt((_block), BPF_RET+BPF_K, SECCOMP_RET_TRAP) 172 set_bpf_stmt((_block), BPF_RET+BPF_K, \ 176 set_bpf_stmt((_block), BPF_RET+BPF_K, SECCOMP_RET_ALLOW)
|
/external/strace/tests-mx32/ |
D | seccomp-filter-v.c | 56 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW) 60 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO|(SECCOMP_RET_DATA & (err))) 63 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL) 164 case BPF_RET: in main()
|
D | prctl-seccomp-filter-v.c | 56 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW) 60 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO|(SECCOMP_RET_DATA & (err))) 63 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL)
|
D | sock_filter-v.c | 73 BPF_STMT(BPF_RET|BPF_K, -1U), 74 BPF_STMT(BPF_RET|BPF_K, 0) 111 XLAT_ARGS(BPF_RET), XLAT_ARGS(BPF_K), in print_filter() 115 XLAT_ARGS(BPF_RET), XLAT_ARGS(BPF_K), in print_filter()
|
/external/strace/tests/ |
D | seccomp-filter-v.c | 56 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW) 60 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO|(SECCOMP_RET_DATA & (err))) 63 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL) 164 case BPF_RET: in main()
|
D | prctl-seccomp-filter-v.c | 56 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW) 60 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO|(SECCOMP_RET_DATA & (err))) 63 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL)
|
D | sock_filter-v.c | 73 BPF_STMT(BPF_RET|BPF_K, -1U), 74 BPF_STMT(BPF_RET|BPF_K, 0) 111 XLAT_ARGS(BPF_RET), XLAT_ARGS(BPF_K), in print_filter() 115 XLAT_ARGS(BPF_RET), XLAT_ARGS(BPF_K), in print_filter()
|
/external/strace/tests-m32/ |
D | seccomp-filter-v.c | 56 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW) 60 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO|(SECCOMP_RET_DATA & (err))) 63 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL) 164 case BPF_RET: in main()
|
D | prctl-seccomp-filter-v.c | 56 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW) 60 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO|(SECCOMP_RET_DATA & (err))) 63 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL)
|
D | sock_filter-v.c | 73 BPF_STMT(BPF_RET|BPF_K, -1U), 74 BPF_STMT(BPF_RET|BPF_K, 0) 111 XLAT_ARGS(BPF_RET), XLAT_ARGS(BPF_K), in print_filter() 115 XLAT_ARGS(BPF_RET), XLAT_ARGS(BPF_K), in print_filter()
|
/external/openssh/ |
D | sandbox-seccomp-filter.c | 89 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ERRNO|(_errno)) 92 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW) 105 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), \ 116 BPF_STMT(BPF_RET+BPF_K, SECCOMP_FILTER_FAIL), 242 BPF_STMT(BPF_RET+BPF_K, SECCOMP_FILTER_FAIL),
|
/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() 40 BPF_STMT(BPF_RET + BPF_K, SECCOMP_RET_ALLOW) in main()
|
/external/minijail/tools/ |
D | bpf.py | 36 BPF_RET = 0x06 variable 124 elif ins.code == BPF_RET: 198 [SockFilter(BPF_RET, 0x00, 0x00, SECCOMP_RET_KILL_PROCESS)]) 206 [SockFilter(BPF_RET, 0x00, 0x00, SECCOMP_RET_KILL_THREAD)]) 213 super().__init__([SockFilter(BPF_RET, 0x00, 0x00, SECCOMP_RET_TRAP)]) 220 super().__init__([SockFilter(BPF_RET, 0x00, 0x00, SECCOMP_RET_TRACE)]) 227 super().__init__([SockFilter(BPF_RET, 0x00, 0x00, SECCOMP_RET_LOG)]) 235 SockFilter(BPF_RET, 0x00, 0x00, 245 super().__init__([SockFilter(BPF_RET, 0x00, 0x00, SECCOMP_RET_ALLOW)])
|
/external/libpcap/ |
D | bpf_filter.c | 140 case BPF_RET|BPF_K: in bpf_filter_with_aux_data() 143 case BPF_RET|BPF_A: in bpf_filter_with_aux_data() 530 case BPF_RET: in bpf_validate() 538 return BPF_CLASS(f[len - 1].code) == BPF_RET; in bpf_validate()
|
/external/strace/ |
D | bpf_seccomp_filter.c | 46 if (BPF_CLASS(fp->code) == BPF_RET) { in print_seccomp_filter_k()
|
/external/kernel-headers/original/uapi/linux/ |
D | bpf_common.h | 13 #define BPF_RET 0x06 macro
|
/external/bcc/src/cc/compat/linux/ |
D | bpf_common.h | 12 #define BPF_RET 0x06 macro
|