Home
last modified time | relevance | path

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

/external/minijail/
Dsyscall_filter_unittest.cc265 struct sock_filter comp_jin[BPF_COMP_LEN]; in TEST() local
270 size_t len = bpf_comp_jin(comp_jin, mask, jt, jf); in TEST()
275 EXPECT_EQ_BLOCK(&comp_jin[0], BPF_JMP + BPF_JSET + BPF_K, ~mask, jf, jt); in TEST()
278 &comp_jin[0], BPF_JMP + BPF_JSET + BPF_K, 0x7FFFFFFF, jf + 2, 0); in TEST()
279 EXPECT_EQ_STMT(&comp_jin[1], BPF_LD + BPF_MEM, 0); in TEST()
280 EXPECT_EQ_BLOCK(&comp_jin[2], BPF_JMP + BPF_JSET + BPF_K, ~O_WRONLY, jf, jt); in TEST()