/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211_monitor.c | 183 BPF_STMT(BPF_LD | BPF_B | BPF_ABS, 2), 185 BPF_STMT(BPF_MISC| BPF_TAX, 0), 187 BPF_STMT(BPF_LD | BPF_B | BPF_ABS, 3), 189 BPF_STMT(BPF_ALU | BPF_LSH | BPF_K, 8), 191 BPF_STMT(BPF_ALU | BPF_OR | BPF_X, 0), 193 BPF_STMT(BPF_MISC| BPF_TAX, 0), 200 BPF_STMT(BPF_LD | BPF_B | BPF_IND, 0), 202 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0xF), 215 BPF_STMT(BPF_LD | BPF_H | BPF_IND, 0), 217 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x0F03), [all …]
|
/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() 255 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, 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() 279 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/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) 101 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, \ 106 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, \ 110 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), \ 112 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, \ 118 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, \ 120 BPF_STMT(BPF_ALU+BPF_AND+BPF_K, ~((_arg_mask) & 0xFFFFFFFF)), \ 123 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, \ 125 BPF_STMT(BPF_ALU+BPF_AND+BPF_K, \ [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/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-m32/ |
D | prctl-seccomp-filter-v.c | 52 && defined BPF_STMT 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) 77 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)),
|
D | seccomp-filter-v.c | 52 && defined BPF_STMT 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) 77 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)), 132 BPF_STMT(BPF_CLASS(i), i << 16); in main()
|
D | sock_filter-v.c | 65 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_LL_OFF+4), 66 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_NET_OFF+8), 67 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_AD_OFF+SKF_AD_PROTOCOL), 69 BPF_STMT(BPF_LD|BPF_W|BPF_LEN, 0), 71 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, 42), 73 BPF_STMT(BPF_RET|BPF_K, -1U), 74 BPF_STMT(BPF_RET|BPF_K, 0)
|
D | nlattr_packet_diag_msg.c | 83 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_AD_OFF+SKF_AD_PKTTYPE), 84 BPF_STMT(BPF_RET|BPF_K, 0x2a)
|
/external/strace/tests-mx32/ |
D | prctl-seccomp-filter-v.c | 52 && defined BPF_STMT 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) 77 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)),
|
D | seccomp-filter-v.c | 52 && defined BPF_STMT 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) 77 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)), 132 BPF_STMT(BPF_CLASS(i), i << 16); in main()
|
D | sock_filter-v.c | 65 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_LL_OFF+4), 66 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_NET_OFF+8), 67 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_AD_OFF+SKF_AD_PROTOCOL), 69 BPF_STMT(BPF_LD|BPF_W|BPF_LEN, 0), 71 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, 42), 73 BPF_STMT(BPF_RET|BPF_K, -1U), 74 BPF_STMT(BPF_RET|BPF_K, 0)
|
/external/strace/tests/ |
D | prctl-seccomp-filter-v.c | 52 && defined BPF_STMT 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) 77 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)),
|
D | seccomp-filter-v.c | 52 && defined BPF_STMT 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) 77 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)), 132 BPF_STMT(BPF_CLASS(i), i << 16); in main()
|
D | sock_filter-v.c | 65 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_LL_OFF+4), 66 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_NET_OFF+8), 67 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_AD_OFF+SKF_AD_PROTOCOL), 69 BPF_STMT(BPF_LD|BPF_W|BPF_LEN, 0), 71 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, 42), 73 BPF_STMT(BPF_RET|BPF_K, -1U), 74 BPF_STMT(BPF_RET|BPF_K, 0)
|
D | nlattr_packet_diag_msg.c | 83 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, SKF_AD_OFF+SKF_AD_PKTTYPE), 84 BPF_STMT(BPF_RET|BPF_K, 0x2a)
|
/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/llvm-project/compiler-rt/test/asan/TestCases/Linux/ |
D | read_binary_name_regtest.c | 39 BPF_STMT(BPF_LD + BPF_W + BPF_ABS, syscall_nr), in main() 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/android-clat/ |
D | clatd.c | 75 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 24), in configure_packet_socket() 77 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 28), in configure_packet_socket() 79 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 32), in configure_packet_socket() 81 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 36), in configure_packet_socket() 83 BPF_STMT(BPF_RET | BPF_K, PACKETLEN), in configure_packet_socket() 84 BPF_STMT(BPF_RET | BPF_K, 0), in configure_packet_socket()
|
/external/iproute2/include/uapi/linux/ |
D | filter.h | 48 #ifndef BPF_STMT 49 #define BPF_STMT(code, k) { (unsigned short)(code), 0, 0, k } macro
|
/external/ltp/testcases/kernel/syscalls/prctl/ |
D | prctl04.c | 39 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, (offsetof (struct seccomp_data, nr))), 47 BPF_STMT(BPF_RET | BPF_K, SECCOMP_RET_KILL), 48 BPF_STMT(BPF_RET | BPF_K, SECCOMP_RET_ALLOW)
|
/external/kernel-headers/original/uapi/linux/ |
D | filter.h | 48 #ifndef BPF_STMT 49 #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
|