/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/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/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 | 74 BPF_RET+BPF_K, SECCOMP_RET_KILL); \ 81 BPF_RET+BPF_K, SECCOMP_RET_TRAP); \ 88 BPF_RET+BPF_K, SECCOMP_RET_LOG); \ 96 BPF_RET+BPF_K, SECCOMP_RET_ALLOW); \ 105 EXPECT_EQ_STMT(&(_filter)[2], BPF_RET + BPF_K, \ 114 BPF_RET+BPF_K, SECCOMP_RET_ALLOW); \
|
D | bpf.h | 171 set_bpf_stmt((_block), BPF_RET+BPF_K, SECCOMP_RET_KILL) 174 set_bpf_stmt((_block), BPF_RET+BPF_K, SECCOMP_RET_KILL_PROCESS) 177 set_bpf_stmt((_block), BPF_RET+BPF_K, SECCOMP_RET_TRAP) 180 set_bpf_stmt((_block), BPF_RET+BPF_K, \ 184 set_bpf_stmt((_block), BPF_RET+BPF_K, SECCOMP_RET_LOG) 187 set_bpf_stmt((_block), BPF_RET+BPF_K, SECCOMP_RET_ALLOW)
|
/external/linux-kselftest/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 293 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST() 324 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST() 361 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST() 399 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST() 422 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST() 447 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST() 485 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_LOG), 508 BPF_STMT(BPF_RET|BPF_K, 0x10000000U), in TEST_SIGNAL() 530 BPF_STMT(BPF_RET|BPF_K, 0x90000000U), in TEST_SIGNAL() 551 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL), in TEST_SIGNAL() [all …]
|
/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-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/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/openssh/ |
D | sandbox-seccomp-filter.c | 94 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ERRNO|(_errno)) 97 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW) 110 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), \ 128 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), \ 139 BPF_STMT(BPF_RET+BPF_K, SECCOMP_FILTER_FAIL), 314 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/llvm-project/compiler-rt/test/asan/TestCases/Linux/ |
D | read_binary_name_regtest.c | 43 BPF_STMT(BPF_RET + BPF_K, SECCOMP_RET_ERRNO | EPERM), in main() 45 BPF_STMT(BPF_RET + BPF_K, SECCOMP_RET_ALLOW) in main()
|
/external/minijail/tools/ |
D | bpf.py | 36 BPF_RET = 0x06 variable 125 elif ins.code == BPF_RET: 201 [SockFilter(BPF_RET, 0x00, 0x00, SECCOMP_RET_KILL_PROCESS)]) 209 [SockFilter(BPF_RET, 0x00, 0x00, SECCOMP_RET_KILL_THREAD)]) 216 super().__init__([SockFilter(BPF_RET, 0x00, 0x00, SECCOMP_RET_TRAP)]) 223 super().__init__([SockFilter(BPF_RET, 0x00, 0x00, SECCOMP_RET_TRACE)]) 230 super().__init__([SockFilter(BPF_RET, 0x00, 0x00, SECCOMP_RET_USER_NOTIF)]) 237 super().__init__([SockFilter(BPF_RET, 0x00, 0x00, SECCOMP_RET_LOG)]) 245 SockFilter(BPF_RET, 0x00, 0x00, 255 super().__init__([SockFilter(BPF_RET, 0x00, 0x00, SECCOMP_RET_ALLOW)])
|
/external/libpcap/ |
D | bpf_filter.c | 115 case BPF_RET|BPF_K: in pcap_filter_with_aux_data() 118 case BPF_RET|BPF_A: in pcap_filter_with_aux_data() 521 case BPF_RET: in pcap_validate_filter() 529 return BPF_CLASS(f[len - 1].code) == BPF_RET; in pcap_validate_filter()
|
/external/ltp/testcases/kernel/syscalls/prctl/ |
D | prctl04.c | 47 BPF_STMT(BPF_RET | BPF_K, SECCOMP_RET_KILL), 48 BPF_STMT(BPF_RET | BPF_K, SECCOMP_RET_ALLOW)
|
/external/strace/ |
D | bpf_seccomp_filter.c | 46 if (BPF_CLASS(fp->code) == BPF_RET) { in print_seccomp_filter_k()
|