Searched refs:nr (Results 1 – 4 of 4) sorted by relevance
/samples/seccomp/ |
D | dropper.c | 28 static int install_filter(int nr, int arch, int error) in install_filter() argument 35 (offsetof(struct seccomp_data, nr))), in install_filter() 36 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, nr, 0, 1), in install_filter()
|
D | user-trap.c | 86 static int user_trap_syscall(int nr, unsigned int flags) in user_trap_syscall() argument 90 offsetof(struct seccomp_data, nr)), in user_trap_syscall() 91 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, nr, 0, 1), in user_trap_syscall() 114 if (req->data.nr != __NR_mount) { in handle_req() 115 fprintf(stderr, "huh? trapped something besides mount? %d\n", req->data.nr); in handle_req()
|
D | bpf-direct.c | 32 #define syscall_nr (offsetof(struct seccomp_data, nr)) 62 static void emulator(int nr, siginfo_t *info, void *void_context) in emulator() argument
|
D | bpf-helper.h | 55 #define SYSCALL(nr, jt) \ argument 56 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (nr), 0, 1), \ 261 offsetof(struct seccomp_data, nr))
|