Home
last modified time | relevance | path

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

/external/minijail/
Dsyscall_filter_unittest.cc245 struct sock_filter comp_jset[BPF_COMP_LEN]; in TEST() local
250 size_t len = bpf_comp_jset(comp_jset, mask, jt, jf); in TEST()
255 EXPECT_EQ_BLOCK(&comp_jset[0], BPF_JMP + BPF_JSET + BPF_K, mask, jt, jf); in TEST()
258 &comp_jset[0], BPF_JMP + BPF_JSET + BPF_K, 0x80000000, jt + 2, 0); in TEST()
259 EXPECT_EQ_STMT(&comp_jset[1], BPF_LD + BPF_MEM, 0); in TEST()
260 EXPECT_EQ_BLOCK(&comp_jset[2], BPF_JMP + BPF_JSET + BPF_K, O_WRONLY, jt, jf); in TEST()