Searched refs:syscall_arg (Results 1 – 3 of 3) sorted by relevance
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/ |
D | seccomp_bpf_tests.c | 76 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n])) macro 284 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, syscall_arg(0)), in TEST_SIGNAL() 314 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, syscall_arg(5)), in TEST_SIGNAL() 341 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, syscall_arg(6)), in TEST()
|
/external/seccomp-tests/linux/ |
D | seccomp_bpf.c | 91 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n])) macro 93 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n]) + sizeof(__u32)) macro 442 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(0)), in TEST_SIGNAL() 482 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(5)), in TEST_SIGNAL() 527 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(6)), in TEST()
|
/external/linux-kselftest/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 226 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n])) macro 228 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n]) + sizeof(__u32)) macro 602 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(0)), in TEST_SIGNAL() 642 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(5)), in TEST_SIGNAL() 801 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg(6)), in TEST()
|