Home
last modified time | relevance | path

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

/samples/seccomp/
Duser-trap.c105 struct seccomp_notif_resp *resp, int listener) in handle_req() argument
145 if (ioctl(listener, SECCOMP_IOCTL_NOTIF_ID_VALID, &req->id) < 0) { in handle_req()
203 int sk_pair[2], ret = 1, status, listener; in main() local
218 listener = user_trap_syscall(__NR_mount, in main()
220 if (listener < 0) { in main()
237 if (send_fd(sk_pair[1], listener) < 0) in main()
239 close(listener); in main()
273 listener = recv_fd(sk_pair[0]); in main()
274 if (listener < 0) in main()
309 if (ioctl(listener, SECCOMP_IOCTL_NOTIF_RECV, req)) { in main()
[all …]