Home
last modified time | relevance | path

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

/external/minijail/
Dsyscall_filter.c142 struct sock_filter *filter = new_instr_buf(ALLOW_SYSCALL_LEN); in append_allow_syscall()
144 if (len != ALLOW_SYSCALL_LEN) in append_allow_syscall()
667 new_instr_buf(ALLOW_SYSCALL_LEN); in compile_file()
669 append_filter_block(head, nr_comp, ALLOW_SYSCALL_LEN); in compile_file()
Dbpf.h202 #define ALLOW_SYSCALL_LEN 2U macro
Dsyscall_filter_unittest.cc323 struct sock_filter allow_syscall[ALLOW_SYSCALL_LEN]; in TEST()
328 EXPECT_EQ(len, ALLOW_SYSCALL_LEN); in TEST()
333 struct sock_filter allow_syscall[ALLOW_SYSCALL_LEN]; in TEST()
339 EXPECT_EQ(len, ALLOW_SYSCALL_LEN); in TEST()
1432 ARCH_VALIDATION_LEN + 1 /* load syscall nr */ + ALLOW_SYSCALL_LEN + in TEST()