Home
last modified time | relevance | path

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

/tools/testing/selftests/seccomp/
Dseccomp_bpf.c377 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
408 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
445 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
483 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
506 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
531 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
567 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_LOG), in TEST()
589 BPF_STMT(BPF_RET|BPF_K, 0x10000000U), in TEST_SIGNAL()
611 BPF_STMT(BPF_RET|BPF_K, 0x90000000U), in TEST_SIGNAL()
632 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL), in TEST_SIGNAL()
[all …]
Dseccomp_benchmark.c125 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)), in main()
126 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in main()
133 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, args[0])), in main()
134 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in main()
/tools/include/uapi/linux/
Dfilter.h48 #ifndef BPF_STMT
49 #define BPF_STMT(code, k) { (unsigned short)(code), 0, 0, k } macro
/tools/testing/selftests/net/
Dpsock_fanout.c101 BPF_STMT(BPF_LD+BPF_B+BPF_ABS, 80), /* ldb [80] */ in sock_fanout_set_cbpf()
102 BPF_STMT(BPF_RET+BPF_A, 0), /* ret A */ in sock_fanout_set_cbpf()