/external/minijail/ |
D | bpf.c | 15 size_t bpf_validate_arch(struct sock_filter *filter) in bpf_validate_arch() 17 struct sock_filter *curr_block = filter; in bpf_validate_arch() 26 size_t bpf_allow_syscall(struct sock_filter *filter, int nr) in bpf_allow_syscall() 28 struct sock_filter *curr_block = filter; in bpf_allow_syscall() 34 size_t bpf_allow_syscall_args(struct sock_filter *filter, int nr, in bpf_allow_syscall_args() 37 struct sock_filter *curr_block = filter; in bpf_allow_syscall_args() 45 size_t bpf_load_arg(struct sock_filter *filter, int argidx) in bpf_load_arg() 51 size_t bpf_load_arg(struct sock_filter *filter, int argidx) in bpf_load_arg() 53 struct sock_filter *curr_block = filter; in bpf_load_arg() 63 size_t bpf_comp_jeq32(struct sock_filter *filter, unsigned long c, in bpf_comp_jeq32() [all …]
|
D | bpf.h | 140 static inline size_t set_bpf_instr(struct sock_filter *instr, in set_bpf_instr() 183 struct sock_filter *filter, size_t count); 188 size_t bpf_load_arg(struct sock_filter *filter, int argidx); 189 size_t bpf_comp_jeq(struct sock_filter *filter, unsigned long c, 191 size_t bpf_comp_jgt(struct sock_filter *filter, unsigned long c, 193 size_t bpf_comp_jge(struct sock_filter *filter, unsigned long c, 195 size_t bpf_comp_jset(struct sock_filter *filter, unsigned long mask, 197 size_t bpf_comp_jin(struct sock_filter *filter, unsigned long mask, 204 size_t bpf_arg_comp(struct sock_filter **pfilter, 206 size_t bpf_validate_arch(struct sock_filter *filter); [all …]
|
D | syscall_filter.c | 58 struct sock_filter *new_instr_buf(size_t count) in new_instr_buf() 60 struct sock_filter *buf = calloc(count, sizeof(struct sock_filter)); in new_instr_buf() 79 void append_filter_block(struct filter_block *head, struct sock_filter *instrs, in append_filter_block() 121 struct sock_filter *filter = new_instr_buf(ONE_INSTR); in append_ret_kill() 128 struct sock_filter *filter = new_instr_buf(ONE_INSTR); in append_ret_trap() 135 struct sock_filter *filter = new_instr_buf(ONE_INSTR); in append_ret_errno() 142 struct sock_filter *filter = new_instr_buf(ALLOW_SYSCALL_LEN); in append_allow_syscall() 262 struct sock_filter *comp_block; in compile_atom() 365 struct sock_filter *entry_label = new_instr_buf(ONE_INSTR); in compile_policy_line() 408 struct sock_filter *group_end_block = new_instr_buf(TWO_INSTRS); in compile_policy_line() [all …]
|
D | syscall_filter.h | 19 struct sock_filter *instrs; 48 int flatten_block_list(struct filter_block *head, struct sock_filter *filter,
|
D | parse_seccomp_policy.cc | 19 struct sock_filter* filter = fprog->filter; in DumpBpfProg() 94 if (fwrite(fp.filter, sizeof(struct sock_filter), fp.len, out) != fp.len) in main()
|
/external/libnetfilter_conntrack/src/conntrack/ |
D | bsf.c | 74 static void show_filter(struct sock_filter *this, int from, int to, char *str) 102 show_filter(struct sock_filter *this, int from, int to, char *str) {} in show_filter() 105 #define NEW_POS(x) (sizeof(x)/sizeof(struct sock_filter)) 108 nfct_bsf_load_payload_offset(struct sock_filter *this, int pos) in nfct_bsf_load_payload_offset() 110 struct sock_filter __code = { in nfct_bsf_load_payload_offset() 119 nfct_bsf_find_attr(struct sock_filter *this, int attr, int pos) in nfct_bsf_find_attr() 121 struct sock_filter __code[] = { in nfct_bsf_find_attr() 139 nfct_bsf_find_attr_nest(struct sock_filter *this, int attr, int pos) in nfct_bsf_find_attr_nest() 141 struct sock_filter __code[] = { in nfct_bsf_find_attr_nest() 164 nfct_bsf_cmp_k_stack(struct sock_filter *this, int k, in nfct_bsf_cmp_k_stack() [all …]
|
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/ |
D | seccomp_bpf_tests.c | 122 struct sock_filter filter[] = { in TEST() 146 struct sock_filter filter[] = { in TEST() 167 struct sock_filter filter[] = { in TEST() 183 struct sock_filter filter[] = { in TEST() 199 struct sock_filter filter[] = { in TEST_SIGNAL() 219 struct sock_filter filter[] = { in TEST_SIGNAL() 238 struct sock_filter filter[] = { in TEST_SIGNAL() 254 struct sock_filter filter[] = { in TEST_SIGNAL() 278 struct sock_filter filter[] = { in TEST_SIGNAL() 308 struct sock_filter filter[] = { in TEST_SIGNAL() [all …]
|
/external/iptables/include/linux/netfilter/ |
D | xt_bpf.h | 9 #define XT_BPF_PATH_MAX (XT_BPF_MAX_NUM_INSTR * sizeof(struct sock_filter)) 15 struct sock_filter bpf_program[XT_BPF_MAX_NUM_INSTR]; 32 struct sock_filter bpf_program[XT_BPF_MAX_NUM_INSTR];
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
D | xt_bpf.h | 10 #define XT_BPF_PATH_MAX (XT_BPF_MAX_NUM_INSTR * sizeof(struct sock_filter)) 16 struct sock_filter bpf_program[XT_BPF_MAX_NUM_INSTR]; 34 struct sock_filter bpf_program[XT_BPF_MAX_NUM_INSTR];
|
/external/wpa_supplicant_8/src/l2_packet/ |
D | l2_packet_linux.c | 46 static struct sock_filter dhcp_sock_filter_insns[] = { 71 static struct sock_filter ndisc_sock_filter_insns[] = { 95 static struct sock_filter pkt_type_filter_insns[] = { 344 struct sock_filter ethertype_sock_filter_insns[] = { in l2_packet_init_bridge() 482 const struct sock_fprog *sock_filter; in l2_packet_set_packet_filter() local 489 sock_filter = &dhcp_sock_filter; in l2_packet_set_packet_filter() 492 sock_filter = &ndisc_sock_filter; in l2_packet_set_packet_filter() 495 sock_filter = &pkt_type_sock_filter; in l2_packet_set_packet_filter() 502 sock_filter, sizeof(struct sock_fprog))) { in l2_packet_set_packet_filter()
|
/external/linux-kselftest/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 234 struct sock_filter filter[] = { in TEST() 265 struct sock_filter allow[] = { in TEST() 268 struct sock_filter *filter; in TEST() 302 struct sock_filter allow[] = { in TEST() 305 struct sock_filter *filter; in TEST() 340 struct sock_filter filter[] = { in TEST() 363 struct sock_filter filter[] = { in TEST() 388 struct sock_filter filter[] = { in TEST() 406 struct sock_filter filter[] = { in TEST() 425 struct sock_filter filter[] = { [all …]
|
/external/seccomp-tests/linux/ |
D | seccomp_bpf.c | 157 struct sock_filter filter[] = { in TEST() 188 struct sock_filter allow[] = { in TEST() 191 struct sock_filter *filter; in TEST() 225 struct sock_filter allow[] = { in TEST() 228 struct sock_filter *filter; in TEST() 263 struct sock_filter filter[] = { in TEST() 286 struct sock_filter filter[] = { in TEST() 311 struct sock_filter filter[] = { in TEST() 329 struct sock_filter filter[] = { in TEST() 347 struct sock_filter filter[] = { in TEST_SIGNAL() [all …]
|
/external/strace/tests-mx32/ |
D | seccomp-filter-v.c | 75 static const struct sock_filter filter_c[] = { 99 struct sock_filter *const filter = in main() 101 struct sock_filter *const big_filter = in main() 131 const struct sock_filter stmt = in main()
|
D | pure_executables.list | 411 sock_filter-v 412 sock_filter-v-Xabbrev 413 sock_filter-v-Xraw 414 sock_filter-v-Xverbose
|
D | prctl-seccomp-filter-v.c | 75 static const struct sock_filter filter[] = { 94 .filter = (struct sock_filter *) filter,
|
/external/strace/tests/ |
D | seccomp-filter-v.c | 75 static const struct sock_filter filter_c[] = { 99 struct sock_filter *const filter = in main() 101 struct sock_filter *const big_filter = in main() 131 const struct sock_filter stmt = in main()
|
D | pure_executables.list | 411 sock_filter-v 412 sock_filter-v-Xabbrev 413 sock_filter-v-Xraw 414 sock_filter-v-Xverbose
|
D | prctl-seccomp-filter-v.c | 75 static const struct sock_filter filter[] = { 94 .filter = (struct sock_filter *) filter,
|
/external/strace/tests-m32/ |
D | seccomp-filter-v.c | 75 static const struct sock_filter filter_c[] = { 99 struct sock_filter *const filter = in main() 101 struct sock_filter *const big_filter = in main() 131 const struct sock_filter stmt = in main()
|
D | pure_executables.list | 411 sock_filter-v 412 sock_filter-v-Xabbrev 413 sock_filter-v-Xraw 414 sock_filter-v-Xverbose
|
D | prctl-seccomp-filter-v.c | 75 static const struct sock_filter filter[] = { 94 .filter = (struct sock_filter *) filter,
|
/external/iproute2/include/uapi/linux/ |
D | filter.h | 24 struct sock_filter { /* Filter block */ struct 33 struct sock_filter *filter; argument
|
/external/kernel-headers/original/uapi/linux/ |
D | filter.h | 24 struct sock_filter { /* Filter block */ struct 33 struct sock_filter __user *filter; argument
|
/external/iptables/include/linux/ |
D | filter.h | 23 struct sock_filter { /* Filter block */ struct 32 struct sock_filter *filter; argument
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | psock_lib.h | 64 struct sock_filter bpf_filter[] = { in pair_udp_setfilter() 80 bpf_prog.len = sizeof(bpf_filter) / sizeof(struct sock_filter); in pair_udp_setfilter()
|