HomeSort by relevance Sort by last modified time
    Searched refs:set_bpf_stmt (Results 1 - 2 of 2) sorted by null

  /external/minijail/
bpf.h 134 #define set_bpf_stmt(_block, _code, _k) \ macro
149 set_bpf_stmt((_block), BPF_RET+BPF_K, SECCOMP_RET_KILL)
152 set_bpf_stmt((_block), BPF_RET+BPF_K, SECCOMP_RET_TRAP)
155 set_bpf_stmt((_block), BPF_RET+BPF_K, \
159 set_bpf_stmt((_block), BPF_RET+BPF_K, SECCOMP_RET_ALLOW)
162 set_bpf_stmt((_filter), BPF_LD+BPF_W+BPF_ABS, syscall_nr)
bpf.c 17 set_bpf_stmt(curr_block++, BPF_LD+BPF_W+BPF_ABS, arch_nr);
29 set_bpf_stmt(curr_block++, BPF_RET+BPF_K, SECCOMP_RET_ALLOW);
46 set_bpf_stmt(filter, BPF_LD+BPF_W+BPF_ABS, LO_ARG(argidx));
53 set_bpf_stmt(curr_block++, BPF_LD+BPF_W+BPF_ABS, LO_ARG(argidx));
54 set_bpf_stmt(curr_block++, BPF_ST, 0); /* lo -> M[0] */
55 set_bpf_stmt(curr_block++, BPF_LD+BPF_W+BPF_ABS, HI_ARG(argidx));
56 set_bpf_stmt(curr_block++, BPF_ST, 1); /* hi -> M[1] */
85 set_bpf_stmt(curr_block++, BPF_LD+BPF_MEM, 0); /* swap in |lo| */
116 set_bpf_stmt(curr_block++, BPF_LD+BPF_MEM, 0); /* swap in |lo| */

Completed in 100 milliseconds