Home
last modified time | relevance | path

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

/external/minijail/
Dsyscall_filter_unittest.c214 struct sock_filter validate_arch[ARCH_VALIDATION_LEN]; in TEST_F()
218 EXPECT_EQ(len, ARCH_VALIDATION_LEN); in TEST_F()
560 EXPECT_EQ_STMT(actual.filter + ARCH_VALIDATION_LEN, in TEST_F()
562 EXPECT_ALLOW_SYSCALL(actual.filter + ARCH_VALIDATION_LEN + 1, in TEST_F()
564 EXPECT_ALLOW_SYSCALL(actual.filter + ARCH_VALIDATION_LEN + 3, in TEST_F()
566 EXPECT_ALLOW_SYSCALL(actual.filter + ARCH_VALIDATION_LEN + 5, in TEST_F()
568 EXPECT_ALLOW_SYSCALL(actual.filter + ARCH_VALIDATION_LEN + 7, in TEST_F()
570 EXPECT_EQ_STMT(actual.filter + ARCH_VALIDATION_LEN + 9, BPF_RET+BPF_K, in TEST_F()
593 EXPECT_EQ_STMT(actual.filter + ARCH_VALIDATION_LEN, in TEST_F()
595 EXPECT_ALLOW_SYSCALL_ARGS(actual.filter + ARCH_VALIDATION_LEN + 1, in TEST_F()
[all …]
Dbpf.h178 #define ARCH_VALIDATION_LEN 3U macro
Dsyscall_filter.c386 struct sock_filter *valid_arch = new_instr_buf(ARCH_VALIDATION_LEN); in compile_filter()