Home
last modified time | relevance | path

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

/external/minijail/
Dsyscall_filter_unittest.cc314 struct sock_filter validate_arch[ARCH_VALIDATION_LEN]; in TEST()
318 EXPECT_EQ(len, ARCH_VALIDATION_LEN); in TEST()
1321 EXPECT_EQ_STMT(actual.filter + ARCH_VALIDATION_LEN, in TEST()
1324 EXPECT_ALLOW_SYSCALL(actual.filter + ARCH_VALIDATION_LEN + 1, __NR_read); in TEST()
1325 EXPECT_ALLOW_SYSCALL(actual.filter + ARCH_VALIDATION_LEN + 3, __NR_write); in TEST()
1326 EXPECT_ALLOW_SYSCALL(actual.filter + ARCH_VALIDATION_LEN + 5, in TEST()
1328 EXPECT_ALLOW_SYSCALL(actual.filter + ARCH_VALIDATION_LEN + 7, __NR_exit); in TEST()
1329 EXPECT_EQ_STMT(actual.filter + ARCH_VALIDATION_LEN + 9, in TEST()
1358 EXPECT_EQ_STMT(actual.filter + ARCH_VALIDATION_LEN, in TEST()
1360 EXPECT_ALLOW_SYSCALL(actual.filter + ARCH_VALIDATION_LEN + 1, in TEST()
[all …]
Dbpf.h201 #define ARCH_VALIDATION_LEN 3U macro
Dsyscall_filter.c722 struct sock_filter *valid_arch = new_instr_buf(ARCH_VALIDATION_LEN); in compile_filter()