Home
last modified time | relevance | path

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

/samples/seccomp/
Duser-trap.c203 int sk_pair[2], ret = 1, status, listener; in main() local
206 if (socketpair(PF_LOCAL, SOCK_SEQPACKET, 0, sk_pair) < 0) { in main()
237 if (send_fd(sk_pair[1], listener) < 0) in main()
273 listener = recv_fd(sk_pair[0]); in main()
372 close(sk_pair[0]); in main()
373 close(sk_pair[1]); in main()