Lines Matching refs:BPF_K
392 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
425 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
462 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
500 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
523 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
548 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
584 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_LOG), in TEST()
606 BPF_STMT(BPF_RET|BPF_K, 0x10000000U), in TEST_SIGNAL()
628 BPF_STMT(BPF_RET|BPF_K, 0x90000000U), in TEST_SIGNAL()
649 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL), in TEST_SIGNAL()
669 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 0, 1), in TEST_SIGNAL()
670 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL), in TEST_SIGNAL()
671 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST_SIGNAL()
697 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_times, 1, 0), in TEST_SIGNAL()
698 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST_SIGNAL()
701 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, in TEST_SIGNAL()
703 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL), in TEST_SIGNAL()
704 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST_SIGNAL()
737 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, sysno, 1, 0), in TEST_SIGNAL()
738 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST_SIGNAL()
741 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, 0x0C0FFEE, 0, 1), in TEST_SIGNAL()
742 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL), in TEST_SIGNAL()
743 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST_SIGNAL()
810 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 0, 1), in kill_thread_or_group()
811 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL_THREAD), in kill_thread_or_group()
812 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in kill_thread_or_group()
822 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 0, 1), in kill_thread_or_group()
823 BPF_STMT(BPF_RET|BPF_K, kill), in kill_thread_or_group()
824 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in kill_thread_or_group()
928 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
948 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_read, 0, 1), \
949 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO | errno), \
950 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), \
1055 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 0, 1), in FIXTURE_SETUP()
1056 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_TRAP), in FIXTURE_SETUP()
1057 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in FIXTURE_SETUP()
1169 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in FIXTURE_SETUP()
1174 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 1, 0), in FIXTURE_SETUP()
1175 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in FIXTURE_SETUP()
1176 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_LOG), in FIXTURE_SETUP()
1181 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 1, 0), in FIXTURE_SETUP()
1182 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in FIXTURE_SETUP()
1183 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_TRACE), in FIXTURE_SETUP()
1188 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 1, 0), in FIXTURE_SETUP()
1189 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in FIXTURE_SETUP()
1190 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO), in FIXTURE_SETUP()
1195 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 1, 0), in FIXTURE_SETUP()
1196 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in FIXTURE_SETUP()
1197 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_TRAP), in FIXTURE_SETUP()
1202 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 1, 0), in FIXTURE_SETUP()
1203 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in FIXTURE_SETUP()
1204 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL), in FIXTURE_SETUP()
1669 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_read, 0, 1), in FIXTURE_SETUP()
1670 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_TRACE | 0x1001), in FIXTURE_SETUP()
1671 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in FIXTURE_SETUP()
2132 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 0, 1), in FIXTURE_SETUP()
2133 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_TRACE | 0x1002), in FIXTURE_SETUP()
2134 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_gettid, 0, 1), in FIXTURE_SETUP()
2135 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_TRACE | 0x1003), in FIXTURE_SETUP()
2136 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_openat, 0, 1), in FIXTURE_SETUP()
2137 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_TRACE | 0x1004), in FIXTURE_SETUP()
2138 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getppid, 0, 1), in FIXTURE_SETUP()
2139 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_TRACE | 0x1005), in FIXTURE_SETUP()
2140 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in FIXTURE_SETUP()
2239 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_mknodat, 0, 1), in TEST_F_SIGNAL()
2240 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL_THREAD), in TEST_F_SIGNAL()
2241 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST_F_SIGNAL()
2262 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getppid, 0, 1), in TEST_F()
2263 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO | EPERM), in TEST_F()
2264 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST_F()
2287 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getppid, 0, 1), in TEST_F_SIGNAL()
2288 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL), in TEST_F_SIGNAL()
2289 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST_F_SIGNAL()
2308 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
2360 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
2487 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
2552 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in FIXTURE_SETUP()
2557 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_read, 0, 1), in FIXTURE_SETUP()
2558 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL), in FIXTURE_SETUP()
2559 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in FIXTURE_SETUP()
2666 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_prctl, 0, 1), in TEST_F()
2667 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO | EINVAL), in TEST_F()
2668 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST_F()
3017 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_sigreturn, 7, 0), in TEST()
3019 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_read, 6, 0), in TEST()
3020 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_exit, 5, 0), in TEST()
3021 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_rt_sigreturn, 4, 0), in TEST()
3022 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_nanosleep, 5, 0), in TEST()
3023 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_clock_nanosleep, 4, 0), in TEST()
3024 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_restart_syscall, 4, 0), in TEST()
3027 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_write, 0, 1), in TEST()
3028 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
3029 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL), in TEST()
3031 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_TRACE|0x100), in TEST()
3033 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_TRACE|0x200), in TEST()
3183 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST_SIGNAL()
3188 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 0, 1), in TEST_SIGNAL()
3189 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL), in TEST_SIGNAL()
3190 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST_SIGNAL()
3293 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
3347 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, nr, 0, 1), in user_notif_syscall()
3348 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_USER_NOTIF), in user_notif_syscall()
3349 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in user_notif_syscall()
3371 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()