/external/dhcpcd-6.8.2/ |
D | bpf-filter.h | 36 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, 12), 40 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, 20 + BPF_ETHCOOK), 43 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, 20 + BPF_ETHCOOK), 46 BPF_STMT(BPF_RET + BPF_K, BPF_WHOLEPACKET), 48 BPF_STMT(BPF_RET + BPF_K, 0), 80 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, 12), 84 BPF_STMT(BPF_LD + BPF_B + BPF_ABS, 23 + BPF_ETHCOOK), 87 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, 20 + BPF_ETHCOOK), 90 BPF_STMT(BPF_LDX + BPF_B + BPF_MSH, 14 + BPF_ETHCOOK), 92 BPF_STMT(BPF_LD + BPF_H + BPF_IND, 16 + BPF_ETHCOOK), [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211_monitor.c | 180 BPF_STMT(BPF_LD | BPF_B | BPF_ABS, 2), 182 BPF_STMT(BPF_MISC| BPF_TAX, 0), 184 BPF_STMT(BPF_LD | BPF_B | BPF_ABS, 3), 186 BPF_STMT(BPF_ALU | BPF_LSH | BPF_K, 8), 188 BPF_STMT(BPF_ALU | BPF_OR | BPF_X, 0), 190 BPF_STMT(BPF_MISC| BPF_TAX, 0), 197 BPF_STMT(BPF_LD | BPF_B | BPF_IND, 0), 199 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0xF), 212 BPF_STMT(BPF_LD | BPF_H | BPF_IND, 0), 214 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x0F03), [all …]
|
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/ |
D | seccomp_bpf_tests.c | 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() 208 BPF_STMT(BPF_RET+BPF_K, 0x10000000U), in TEST_SIGNAL() 228 BPF_STMT(BPF_RET+BPF_K, 0x90000000U), in TEST_SIGNAL() 247 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_KILL), in TEST_SIGNAL() 263 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in TEST_SIGNAL() 266 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_KILL), in TEST_SIGNAL() 267 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in TEST_SIGNAL() 287 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in TEST_SIGNAL() [all …]
|
D | resumption.c | 92 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in FIXTURE_SETUP() 102 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in FIXTURE_SETUP() 104 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in FIXTURE_SETUP() 108 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, 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 | 68 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in FIXTURE_SETUP() 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 | 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() 409 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL() [all …]
|
/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() 409 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL() [all …]
|
/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) 96 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, \ 101 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, \ 105 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), \ 107 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, \ 113 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, 116 BPF_STMT(BPF_RET+BPF_K, SECCOMP_FILTER_FAIL), 118 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, 242 BPF_STMT(BPF_RET+BPF_K, SECCOMP_FILTER_FAIL),
|
/external/strace/tests-m32/ |
D | prctl-seccomp-filter-v.c | 53 && defined BPF_STMT 57 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW) 61 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO|(SECCOMP_RET_DATA & (err))) 64 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL) 78 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)),
|
D | seccomp-filter-v.c | 54 && defined BPF_STMT 58 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW) 62 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO|(SECCOMP_RET_DATA & (err))) 65 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL) 79 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)), 138 BPF_STMT(BPF_CLASS(i), i << 16); in main()
|
/external/strace/tests/ |
D | prctl-seccomp-filter-v.c | 53 && defined BPF_STMT 57 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW) 61 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO|(SECCOMP_RET_DATA & (err))) 64 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL) 78 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)),
|
D | seccomp-filter-v.c | 54 && defined BPF_STMT 58 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW) 62 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO|(SECCOMP_RET_DATA & (err))) 65 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL) 79 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)), 138 BPF_STMT(BPF_CLASS(i), i << 16); in main()
|
/external/strace/tests-mx32/ |
D | prctl-seccomp-filter-v.c | 53 && defined BPF_STMT 57 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW) 61 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO|(SECCOMP_RET_DATA & (err))) 64 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL) 78 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)),
|
D | seccomp-filter-v.c | 54 && defined BPF_STMT 58 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW) 62 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO|(SECCOMP_RET_DATA & (err))) 65 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL) 79 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)), 138 BPF_STMT(BPF_CLASS(i), i << 16); in main()
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
D | read_binary_name_regtest.c | 34 BPF_STMT(BPF_LD + BPF_W + BPF_ABS, syscall_nr), in main() 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/android-clat/ |
D | clatd.c | 93 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 24), in configure_packet_socket() 95 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 28), in configure_packet_socket() 97 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 32), in configure_packet_socket() 99 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 36), in configure_packet_socket() 101 BPF_STMT(BPF_RET | BPF_K, PACKETLEN), in configure_packet_socket() 102 BPF_STMT(BPF_RET | BPF_K, 0) in configure_packet_socket()
|
/external/iproute2/include/linux/ |
D | filter.h | 47 #ifndef BPF_STMT 48 #define BPF_STMT(code, k) { (unsigned short)(code), 0, 0, k } macro
|
/external/kernel-headers/original/uapi/linux/ |
D | filter.h | 47 #ifndef BPF_STMT 48 #define BPF_STMT(code, k) { (unsigned short)(code), 0, 0, k } macro
|
/external/iptables/include/linux/ |
D | filter.h | 101 #ifndef BPF_STMT 102 #define BPF_STMT(code, k) { (unsigned short)(code), 0, 0, k } macro
|
/external/wpa_supplicant_8/src/l2_packet/ |
D | l2_packet_linux.c | 323 BPF_STMT(BPF_LD | BPF_H | BPF_ABS, 2 * ETH_ALEN), in l2_packet_init_bridge() 327 BPF_STMT(BPF_RET | BPF_K, ~0), in l2_packet_init_bridge() 329 BPF_STMT(BPF_RET | BPF_K, 0) in l2_packet_init_bridge()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | psock_fanout.c | 101 BPF_STMT(BPF_LD+BPF_B+BPF_ABS, 80), /* ldb [80] */ in sock_fanout_set_cbpf() 102 BPF_STMT(BPF_RET+BPF_A, 0), /* ret A */ in sock_fanout_set_cbpf()
|
/external/iputils/ |
D | ping.c | 1376 BPF_STMT(BPF_LDX|BPF_B|BPF_MSH, 0), /* Skip IP header. F..g BSD... Look into ping6. */ in install_filter() 1377 BPF_STMT(BPF_LD|BPF_H|BPF_IND, 4), /* Load icmp echo ident */ in install_filter() 1379 BPF_STMT(BPF_RET|BPF_K, ~0U), /* Yes, it passes. */ in install_filter() 1380 BPF_STMT(BPF_LD|BPF_B|BPF_IND, 0), /* Load icmp type */ in install_filter() 1382 BPF_STMT(BPF_RET|BPF_K, 0xFFFFFFF), /* No. It passes. */ in install_filter() 1383 BPF_STMT(BPF_RET|BPF_K, 0) /* Echo with wrong ident. Reject. */ in install_filter()
|
D | rarpd.c | 334 BPF_STMT(BPF_LD|BPF_H|BPF_ABS, 6), in load_arp_bpflet() 336 BPF_STMT(BPF_RET|BPF_K, 1024), in load_arp_bpflet() 337 BPF_STMT(BPF_RET|BPF_K, 0), in load_arp_bpflet()
|
/external/libpcap/pcap/ |
D | bpf.h | 258 #define BPF_STMT(code, k) { (u_short)(code), 0, 0, k } macro
|
/external/toybox/toys/pending/ |
D | dhcp.c | 240 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, 9), 242 BPF_STMT(BPF_LD|BPF_H|BPF_ABS, 6), 244 BPF_STMT(BPF_LDX|BPF_B|BPF_MSH, 0), BPF_STMT(BPF_LD|BPF_H|BPF_IND, 2), 246 BPF_STMT(BPF_RET|BPF_K, 0xffffffff), BPF_STMT(BPF_RET|BPF_K, 0),
|