Searched refs:BPF_STMT (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/kernel/uapi/linux/ |
D | filter.h | 41 #ifndef BPF_STMT 42 #define BPF_STMT(code,k) { (unsigned short) (code), 0, 0, k } macro
|
/bionic/libc/seccomp/ |
D | seccomp_policy.cpp | 125 f.push_back(BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW)); in Allow() 129 f.push_back(BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_TRAP)); in Disallow() 133 f.push_back(BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_nr)); in ExamineSyscall() 150 f.push_back(BPF_STMT(BPF_LD|BPF_W|BPF_ABS, arch_nr)); in ValidateArchitectureAndJumpIfNeeded() 158 f.push_back(BPF_STMT(BPF_LD|BPF_W|BPF_ABS, arch_nr)); in ValidateArchitecture() 172 f.push_back(BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg)); in ValidateSyscallArgInRange()
|