Home
last modified time | relevance | path

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

1234

/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/
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/minijail/
Dsyscall_filter_unittest_macros.h21 EXPECT_EQ((_block)->instrs->code, BPF_LD+BPF_W+BPF_ABS); \
27 EXPECT_EQ((_block)->instrs->code, BPF_LD+BPF_W+BPF_ABS); \
33 EXPECT_EQ((_block)->instrs->code, BPF_LD+BPF_W+BPF_ABS); \
89 EXPECT_EQ_STMT(&(_filter)[0], BPF_LD+BPF_W+BPF_ABS, arch_nr); \
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.cc198 unsigned char code = BPF_LD + BPF_W + BPF_ABS; in TEST()
216 EXPECT_EQ_STMT(&load_arg[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST()
218 EXPECT_EQ_STMT(&load_arg[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST()
220 EXPECT_EQ_STMT(&load_arg[2], BPF_LD + BPF_W + BPF_ABS, HI_ARG(argidx)); in TEST()
296 EXPECT_EQ_STMT(&arg_comp[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST()
300 EXPECT_EQ_STMT(&arg_comp[0], BPF_LD + BPF_W + BPF_ABS, LO_ARG(argidx)); in TEST()
302 EXPECT_EQ_STMT(&arg_comp[2], BPF_LD + BPF_W + BPF_ABS, HI_ARG(argidx)); in TEST()
1322 BPF_LD + BPF_W + BPF_ABS, in TEST()
1359 BPF_LD+BPF_W+BPF_ABS, syscall_nr); in TEST()
1400 BPF_LD + BPF_W + BPF_ABS, in TEST()
[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/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/linux-kselftest/tools/testing/selftests/seccomp/
Dseccomp_bpf.c510 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL()
538 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL()
543 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(0)), in TEST_SIGNAL()
578 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in TEST_SIGNAL()
583 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(5)), in TEST_SIGNAL()
644 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in kill_thread_or_group()
655 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in kill_thread_or_group()
741 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(6)), in TEST()
760 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, \
867 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, in FIXTURE_SETUP()
[all …]
/external/libpcap/
Dbpf_filter.c146 case BPF_LD|BPF_W|BPF_ABS: in bpf_filter_with_aux_data()
154 case BPF_LD|BPF_H|BPF_ABS: in bpf_filter_with_aux_data()
162 case BPF_LD|BPF_B|BPF_ABS: in bpf_filter_with_aux_data()
437 case BPF_ABS: in bpf_validate()
Dbpf_image.c64 case BPF_LD|BPF_W|BPF_ABS: in bpf_image()
70 case BPF_LD|BPF_H|BPF_ABS: in bpf_image()
76 case BPF_LD|BPF_B|BPF_ABS: in bpf_image()
/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.c91 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 24), in configure_packet_socket()
93 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 28), in configure_packet_socket()
95 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 32), in configure_packet_socket()
97 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, 36), in configure_packet_socket()
/external/minijail/tools/
Dbpf.py46 BPF_ABS = 0x20 variable
100 if ins.code == BPF_LD | BPF_W | BPF_ABS:
608 return [SockFilter(BPF_LD | BPF_W | BPF_ABS, 0, 0, offset)]
645 SockFilter(BPF_LD | BPF_W | BPF_ABS, 0, 0, 4),
650 SockFilter(BPF_LD | BPF_W | BPF_ABS, 0, 0, 0),
/external/bcc/src/cc/compat/linux/
Dbpf_common.h22 #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/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

1234