Home
last modified time | relevance | path

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

/external/minijail/
Dsyscall_filter_unittest.cc202 struct sock_filter validate_arch[ARCH_VALIDATION_LEN]; in TEST()
206 EXPECT_EQ(len, ARCH_VALIDATION_LEN); in TEST()
1083 EXPECT_EQ_STMT(actual.filter + ARCH_VALIDATION_LEN, in TEST()
1086 EXPECT_ALLOW_SYSCALL(actual.filter + ARCH_VALIDATION_LEN + 1, __NR_read); in TEST()
1087 EXPECT_ALLOW_SYSCALL(actual.filter + ARCH_VALIDATION_LEN + 3, __NR_write); in TEST()
1088 EXPECT_ALLOW_SYSCALL(actual.filter + ARCH_VALIDATION_LEN + 5, in TEST()
1090 EXPECT_ALLOW_SYSCALL(actual.filter + ARCH_VALIDATION_LEN + 7, __NR_exit); in TEST()
1091 EXPECT_EQ_STMT(actual.filter + ARCH_VALIDATION_LEN + 9, in TEST()
1121 EXPECT_EQ_STMT(actual.filter + ARCH_VALIDATION_LEN, in TEST()
1123 EXPECT_ALLOW_SYSCALL(actual.filter + ARCH_VALIDATION_LEN + 1, in TEST()
[all …]
Dbpf.h185 #define ARCH_VALIDATION_LEN 3U macro
Dsyscall_filter.c681 struct sock_filter *valid_arch = new_instr_buf(ARCH_VALIDATION_LEN); in compile_filter()