Home
last modified time | relevance | path

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

/bionic/libc/seccomp/
Dseccomp_policy.cpp104 f.push_back(BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW)); in Allow()
108 f.push_back(BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_TRAP)); in Disallow()
112 f.push_back(BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_nr)); in ExamineSyscall()
129 f.push_back(BPF_STMT(BPF_LD|BPF_W|BPF_ABS, arch_nr)); in ValidateArchitectureAndJumpIfNeeded()
137 f.push_back(BPF_STMT(BPF_LD|BPF_W|BPF_ABS, arch_nr)); in ValidateArchitecture()
151 f.push_back(BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg)); in ValidateSyscallArgInRange()
/bionic/libc/kernel/uapi/linux/
Dfilter.h41 #ifndef BPF_STMT
42 #define BPF_STMT(code,k) { (unsigned short) (code), 0, 0, k } macro