Home
last modified time | relevance | path

Searched refs:BPF_ABS (Results 1 – 25 of 47) sorted by relevance

12

/external/dhcpcd-6.8.2/
Dbpf-filter.h36 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),
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),
/external/libchrome/sandbox/linux/bpf_dsl/
Dpolicy_compiler.cc147 BPF_LD + BPF_W + BPF_ABS, SECCOMP_ARCH_IDX, in CheckArch()
175 BPF_LD + BPF_W + BPF_ABS, SECCOMP_IP_LSB_IDX, in MaybeAddEscapeHatch()
179 BPF_LD + BPF_W + BPF_ABS, SECCOMP_IP_MSB_IDX, in MaybeAddEscapeHatch()
197 BPF_LD + BPF_W + BPF_ABS, SECCOMP_NR_IDX, CheckSyscallNumber(jumptable)); in DispatchSyscall()
332 BPF_LD + BPF_W + BPF_ABS, in MaskedEqualHalf()
349 BPF_LD + BPF_W + BPF_ABS, in MaskedEqualHalf()
359 BPF_LD + BPF_W + BPF_ABS, in MaskedEqualHalf()
387 BPF_LD + BPF_W + BPF_ABS, in MaskedEqualHalf()
398 BPF_LD + BPF_W + BPF_ABS, in MaskedEqualHalf()
408 BPF_LD + BPF_W + BPF_ABS, in MaskedEqualHalf()
[all …]
Dcodegen_unittest.cc221 CodeGen::Node insn1 = MakeInstruction(BPF_LD + BPF_W + BPF_ABS, 42, insn0); in TEST_F()
225 CodeGen::Node insn3 = MakeInstruction(BPF_LD + BPF_W + BPF_ABS, 42, in TEST_F()
231 CodeGen::Node insn5 = MakeInstruction(BPF_LD + BPF_W + BPF_ABS, 23, insn4); in TEST_F()
267 CodeGen::Node i4 = MakeInstruction(BPF_LD + BPF_W + BPF_ABS, 0, i5); in TEST_F()
269 CodeGen::Node i2 = MakeInstruction(BPF_LD + BPF_W + BPF_ABS, 0, i3); in TEST_F()
271 CodeGen::Node i0 = MakeInstruction(BPF_LD + BPF_W + BPF_ABS, 1, i1); in TEST_F()
289 CodeGen::Node i4 = MakeInstruction(BPF_LD + BPF_W + BPF_ABS, 0, i5); in TEST_F()
291 CodeGen::Node i2 = MakeInstruction(BPF_LD + BPF_W + BPF_ABS, 0, i3); in TEST_F()
293 CodeGen::Node i0 = MakeInstruction(BPF_LD + BPF_W + BPF_ABS, 1, i1); in TEST_F()
321 CodeGen::Node i0 = MakeInstruction(BPF_LD + BPF_W + BPF_ABS, 1, i1); in TEST_F()
[all …]
/external/openssh/
Dsandbox-seccomp-filter.c96 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, \
101 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, \
107 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, \
113 BPF_STMT(BPF_LD+BPF_W+BPF_ABS,
118 BPF_STMT(BPF_LD+BPF_W+BPF_ABS,
/external/strace/xlat/
Dbpf_mode.h14 #if defined(BPF_ABS) || (defined(HAVE_DECL_BPF_ABS) && HAVE_DECL_BPF_ABS)
15 XLAT(BPF_ABS),
Dbpf_mode.in2 BPF_ABS
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/
Dseccomp_bpf_tests.c263 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in TEST_SIGNAL()
287 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in TEST_SIGNAL()
292 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, syscall_arg(0)), in TEST_SIGNAL()
317 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in TEST_SIGNAL()
322 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, syscall_arg(5)), in TEST_SIGNAL()
349 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, syscall_arg(6)), in TEST()
366 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in TEST()
390 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in TEST()
418 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in FIXTURE_SETUP()
526 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in FIXTURE_SETUP()
[all …]
Dresumption.c92 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, 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()
/external/libchrome/sandbox/linux/system_headers/
Dlinux_filter.h56 #ifndef BPF_ABS
57 #define BPF_ABS 0x20 macro
/external/libpcap/
Dbpf_image.c78 case BPF_LD|BPF_W|BPF_ABS:
83 case BPF_LD|BPF_H|BPF_ABS:
88 case BPF_LD|BPF_B|BPF_ABS:
Dbpf_filter.c269 case BPF_LD|BPF_W|BPF_ABS:
286 case BPF_LD|BPF_H|BPF_ABS:
303 case BPF_LD|BPF_B|BPF_ABS:
652 case BPF_ABS:
/external/minijail/
Dbpf.c18 set_bpf_stmt(curr_block++, BPF_LD + BPF_W + BPF_ABS, arch_nr); in bpf_validate_arch()
47 set_bpf_stmt(filter, BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in bpf_load_arg()
54 set_bpf_stmt(curr_block++, BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in bpf_load_arg()
56 set_bpf_stmt(curr_block++, BPF_LD + BPF_W + BPF_ABS, HI_ARG(argidx)); in bpf_load_arg()
Dsyscall_filter_unittest.cc96 unsigned char code = BPF_LD + BPF_W + BPF_ABS; in TEST()
114 EXPECT_EQ_STMT(&load_arg[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST()
116 EXPECT_EQ_STMT(&load_arg[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST()
118 EXPECT_EQ_STMT(&load_arg[2], BPF_LD + BPF_W + BPF_ABS, HI_ARG(argidx)); in TEST()
194 EXPECT_EQ_STMT(&arg_comp[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST()
198 EXPECT_EQ_STMT(&arg_comp[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST()
200 EXPECT_EQ_STMT(&arg_comp[2], BPF_LD + BPF_W + BPF_ABS, HI_ARG(argidx)); in TEST()
1075 BPF_LD + BPF_W + BPF_ABS, in TEST()
1112 BPF_LD+BPF_W+BPF_ABS, syscall_nr); in TEST()
1153 BPF_LD + BPF_W + BPF_ABS, in TEST()
[all …]
Dsyscall_filter_unittest_macros.h37 EXPECT_EQ((_block)->instrs->code, BPF_LD+BPF_W+BPF_ABS); \
93 EXPECT_EQ_STMT(&(_filter)[0], BPF_LD+BPF_W+BPF_ABS, arch_nr); \
/external/linux-kselftest/tools/testing/selftests/seccomp/
Dseccomp_bpf.c409 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL()
437 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL()
442 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(0)), in TEST_SIGNAL()
477 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL()
482 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(5)), in TEST_SIGNAL()
527 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(6)), in TEST()
547 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST()
574 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST()
601 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST()
632 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in FIXTURE_SETUP()
[all …]
/external/seccomp-tests/linux/
Dseccomp_bpf.c409 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL()
437 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL()
442 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(0)), in TEST_SIGNAL()
477 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL()
482 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(5)), in TEST_SIGNAL()
527 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(6)), in TEST()
547 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST()
574 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST()
601 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST()
632 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in FIXTURE_SETUP()
[all …]
/external/android-clat/
Dclatd.c93 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()
/external/libpcap/bpf/net/
Dbpf_filter.c269 case BPF_LD|BPF_W|BPF_ABS:
286 case BPF_LD|BPF_H|BPF_ABS:
303 case BPF_LD|BPF_B|BPF_ABS:
652 case BPF_ABS:
/external/iproute2/include/linux/
Dbpf_common.h22 #define BPF_ABS 0x20 macro
/external/kernel-headers/original/uapi/linux/
Dbpf_common.h22 #define BPF_ABS 0x20 macro
/external/compiler-rt/test/asan/TestCases/Linux/
Dread_binary_name_regtest.c34 BPF_STMT(BPF_LD + BPF_W + BPF_ABS, syscall_nr), in main()
/external/iptables/include/linux/
Dfilter.h56 #define BPF_ABS 0x20 macro
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_fanout.c101 BPF_STMT(BPF_LD+BPF_B+BPF_ABS, 80), /* ldb [80] */ in sock_fanout_set_cbpf()
124 { BPF_LD | BPF_B | BPF_ABS, 0, 0, 0, 0x50 }, in sock_fanout_set_ebpf()
/external/strace/tests-m32/
Dprctl-seccomp-filter-v.c78 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)),
/external/strace/tests/
Dprctl-seccomp-filter-v.c78 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)),

12