Home
last modified time | relevance | path

Searched refs:BPF_RET (Results 1 – 19 of 19) sorted by relevance

/linux-4.4.14/samples/seccomp/
Dbpf-direct.c117 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in install_filter()
120 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in install_filter()
123 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in install_filter()
125 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in install_filter()
132 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_KILL), in install_filter()
140 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in install_filter()
141 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_TRAP), in install_filter()
142 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_KILL), in install_filter()
Ddropper.c37 BPF_STMT(BPF_RET+BPF_K, in install_filter()
39 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in install_filter()
Dbpf-helper.h45 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW)
47 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_KILL)
/linux-4.4.14/lib/
Dtest_bpf.c103 insn[i] = __BPF_STMT(BPF_RET | BPF_K, k); in bpf_fill_maxinsns1()
122 insn[i] = __BPF_STMT(BPF_RET | BPF_K, 0xfefefefe); in bpf_fill_maxinsns2()
149 insn[len - 1] = __BPF_STMT(BPF_RET | BPF_A, 0); in bpf_fill_maxinsns3()
168 insn[i] = __BPF_STMT(BPF_RET | BPF_K, 0xfefefefe); in bpf_fill_maxinsns4()
189 insn[i] = __BPF_STMT(BPF_RET | BPF_K, 0xfefefefe); in bpf_fill_maxinsns5()
191 insn[len - 1] = __BPF_STMT(BPF_RET | BPF_K, 0xabababab); in bpf_fill_maxinsns5()
213 insn[len - 1] = __BPF_STMT(BPF_RET | BPF_A, 0); in bpf_fill_maxinsns6()
239 insn[len - 1] = __BPF_STMT(BPF_RET | BPF_A, 0); in bpf_fill_maxinsns7()
262 insn[len - 1] = __BPF_STMT(BPF_RET | BPF_A, 0); in bpf_fill_maxinsns8()
342 insn[len - 1] = __BPF_STMT(BPF_RET | BPF_K, 0xababcbac); in __bpf_fill_ja()
[all …]
/linux-4.4.14/tools/testing/selftests/seccomp/
Dseccomp_bpf.c158 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()
412 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL), in TEST_SIGNAL()
[all …]
/linux-4.4.14/tools/net/
Dbpf_dbg.c170 [BPF_RET] = "ret",
223 case BPF_RET | BPF_K: in bpf_disasm()
224 op = op_table[BPF_RET]; in bpf_disasm()
227 case BPF_RET | BPF_A: in bpf_disasm()
228 op = op_table[BPF_RET]; in bpf_disasm()
231 case BPF_RET | BPF_X: in bpf_disasm()
232 op = op_table[BPF_RET]; in bpf_disasm()
640 case BPF_RET | BPF_K: in bpf_single_step()
644 case BPF_RET | BPF_A: in bpf_single_step()
648 case BPF_RET | BPF_X: in bpf_single_step()
Dbpf_exp.y569 bpf_set_curr_instr(BPF_RET | BPF_A, 0, 0, 0); }
571 bpf_set_curr_instr(BPF_RET | BPF_A, 0, 0, 0); }
573 bpf_set_curr_instr(BPF_RET | BPF_X, 0, 0, 0); }
575 bpf_set_curr_instr(BPF_RET | BPF_X, 0, 0, 0); }
577 bpf_set_curr_instr(BPF_RET | BPF_K, 0, 0, $3); }
/linux-4.4.14/samples/bpf/
Dtracex5_user.c16 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in install_accept_all_seccomp()
/linux-4.4.14/include/uapi/linux/
Dbpf_common.h12 #define BPF_RET 0x06 macro
/linux-4.4.14/net/core/
Dfilter.c526 case BPF_RET | BPF_A: in bpf_convert_filter()
527 case BPF_RET | BPF_K: in bpf_convert_filter()
721 [BPF_RET | BPF_K] = true, in chk_code_allowed()
722 [BPF_RET | BPF_A] = true, in chk_code_allowed()
828 case BPF_RET | BPF_K: in bpf_check_classic()
829 case BPF_RET | BPF_A: in bpf_check_classic()
/linux-4.4.14/kernel/
Dseccomp.c124 case BPF_RET | BPF_K: in seccomp_check_filter()
125 case BPF_RET | BPF_A: in seccomp_check_filter()
/linux-4.4.14/arch/powerpc/net/
Dbpf_jit_comp.c261 case BPF_RET | BPF_K: in bpf_jit_build_body()
288 case BPF_RET | BPF_A: in bpf_jit_build_body()
/linux-4.4.14/arch/arm/net/
Dbpf_jit_32.c165 (ctx->skf->insns[0].code == (BPF_RET | BPF_A))) in saved_regs()
835 case BPF_RET | BPF_A: in build_body()
838 case BPF_RET | BPF_K: in build_body()
/linux-4.4.14/arch/sparc/net/
Dbpf_jit_comp.c535 case BPF_RET | BPF_K: in bpf_jit_compile()
544 case BPF_RET | BPF_A: in bpf_jit_compile()
/linux-4.4.14/Documentation/networking/
Dcdc_mbim.txt255 BPF_STMT(BPF_RET|BPF_K, (u_int)-1), /* accept */
256 BPF_STMT(BPF_RET|BPF_K, 0), /* ignore */
Dfilter.txt861 BPF_RET 0x06 [ class 6 unused, for future if needed ]
924 Classic BPF wastes the whole BPF_RET class to represent a single 'ret'
925 operation. Classic BPF_RET | BPF_K means copy imm32 into return register
/linux-4.4.14/include/linux/
Dfilter.h503 case BPF_RET | BPF_K: in bpf_needs_clear_a()
/linux-4.4.14/arch/mips/net/
Dbpf_jit.c1044 case BPF_RET | BPF_A: in build_body()
1054 case BPF_RET | BPF_K: in build_body()
/linux-4.4.14/kernel/bpf/
Dverifier.c275 [BPF_RET] = "BUG",