Home
last modified time | relevance | path

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

123

/external/strace/xlat/
Debpf_mode.h13 #if defined(BPF_ABS) || (defined(HAVE_DECL_BPF_ABS) && HAVE_DECL_BPF_ABS)
15 static_assert((BPF_ABS) == (0x20), "BPF_ABS != 0x20");
18 # define BPF_ABS 0x20
53 XLAT(BPF_ABS),
Dbpf_mode.h13 #if defined(BPF_ABS) || (defined(HAVE_DECL_BPF_ABS) && HAVE_DECL_BPF_ABS)
15 static_assert((BPF_ABS) == (0x20), "BPF_ABS != 0x20");
18 # define BPF_ABS 0x20
67 XLAT(BPF_ABS),
Debpf_mode.in2 BPF_ABS 0x20
Dbpf_mode.in2 BPF_ABS 0x20
/external/strace/tests-m32/
Dsock_filter-v.c65 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),
71 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, 42),
82 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
86 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
90 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
104 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
/external/strace/tests-mx32/
Dsock_filter-v.c65 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),
71 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, 42),
82 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
86 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
90 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
104 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
/external/strace/tests/
Dsock_filter-v.c65 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),
71 BPF_STMT(BPF_LD|BPF_B|BPF_ABS, 42),
82 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
86 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
90 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
104 XLAT_ARGS(BPF_LD), XLAT_ARGS(BPF_B), XLAT_ARGS(BPF_ABS), in print_filter()
/external/openssh/
Dsandbox-seccomp-filter.c101 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, \
106 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, \
112 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, \
118 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, \
123 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, \
130 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, \
136 BPF_STMT(BPF_LD+BPF_W+BPF_ABS,
141 BPF_STMT(BPF_LD+BPF_W+BPF_ABS,
/external/minijail/
Dsyscall_filter_unittest_macros.h26 EXPECT_EQ((_block)->instrs->code, BPF_LD+BPF_W+BPF_ABS); \
32 EXPECT_EQ((_block)->instrs->code, BPF_LD+BPF_W+BPF_ABS); \
38 EXPECT_EQ((_block)->instrs->code, BPF_LD+BPF_W+BPF_ABS); \
101 EXPECT_EQ_STMT(&(_filter)[0], BPF_LD + BPF_W + BPF_ABS, \
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.cc105 unsigned char code = BPF_LD + BPF_W + BPF_ABS; in TEST()
123 EXPECT_EQ_STMT(&load_arg[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST()
125 EXPECT_EQ_STMT(&load_arg[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST()
127 EXPECT_EQ_STMT(&load_arg[2], BPF_LD + BPF_W + BPF_ABS, HI_ARG(argidx)); in TEST()
203 EXPECT_EQ_STMT(&arg_comp[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST()
207 EXPECT_EQ_STMT(&arg_comp[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST()
209 EXPECT_EQ_STMT(&arg_comp[2], BPF_LD + BPF_W + BPF_ABS, HI_ARG(argidx)); in TEST()
1309 BPF_LD + BPF_W + BPF_ABS, in TEST()
1348 BPF_LD + BPF_W + BPF_ABS, in TEST()
1431 BPF_LD+BPF_W+BPF_ABS, syscall_nr); in TEST()
[all …]
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/
Dseccomp_bpf_tests.c255 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in TEST_SIGNAL()
279 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in TEST_SIGNAL()
284 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, syscall_arg(0)), in TEST_SIGNAL()
309 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in TEST_SIGNAL()
314 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, syscall_arg(5)), in TEST_SIGNAL()
341 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, syscall_arg(6)), in TEST()
358 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in TEST()
382 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in TEST()
410 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, in FIXTURE_SETUP()
518 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/libpcap/
Dbpf_filter.c121 case BPF_LD|BPF_W|BPF_ABS: in pcap_filter_with_aux_data()
129 case BPF_LD|BPF_H|BPF_ABS: in pcap_filter_with_aux_data()
137 case BPF_LD|BPF_B|BPF_ABS: in pcap_filter_with_aux_data()
428 case BPF_ABS: in pcap_validate_filter()
Dbpf_image.c156 case BPF_LD|BPF_W|BPF_ABS: in bpf_image()
162 case BPF_LD|BPF_H|BPF_ABS: in bpf_image()
168 case BPF_LD|BPF_B|BPF_ABS: in bpf_image()
/external/android-clat/
Dclatd.c75 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()
/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/linux-kselftest/tools/testing/selftests/seccomp/
Dseccomp_bpf.c569 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL()
597 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL()
602 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(0)), in TEST_SIGNAL()
637 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL()
642 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(5)), in TEST_SIGNAL()
703 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in kill_thread_or_group()
714 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in kill_thread_or_group()
801 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(6)), in TEST()
820 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, \
927 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in FIXTURE_SETUP()
[all …]
/external/bcc/src/cc/compat/linux/
Dbpf_common.h24 #define BPF_ABS 0x20 macro
/external/kernel-headers/original/uapi/linux/
Dbpf_common.h24 #define BPF_ABS 0x20 macro
/external/iproute2/include/uapi/linux/
Dbpf_common.h23 #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/llvm-project/compiler-rt/test/asan/TestCases/Linux/
Dread_binary_name_regtest.c39 BPF_STMT(BPF_LD + BPF_W + BPF_ABS, syscall_nr), in main()
/external/strace/
Dbpf_sock_filter.c42 if (BPF_CLASS(fp->code) == BPF_LD && BPF_MODE(fp->code) == BPF_ABS) { in print_sock_filter_k()
/external/elfutils/lib/
Dbpf.h36 #define BPF_ABS 0x20 macro

123