Home
last modified time | relevance | path

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

/external/ltp/testcases/cve/
Dcve-2016-7117.c74 static volatile int socket_fds[2]; variable
107 close(socket_fds[0]); in cleanup()
108 close(socket_fds[1]); in cleanup()
119 send(socket_fds[0], MSG, sizeof(MSG), 0); in send_and_close()
120 send(socket_fds[0], MSG, sizeof(MSG), 0); in send_and_close()
124 close(socket_fds[0]); in send_and_close()
125 close(socket_fds[1]); in send_and_close()
140 if (socketpair(AF_LOCAL, SOCK_DGRAM, 0, (int *)socket_fds)) in run()
147 socket_fds[1], msghdrs, 2, 0, &timeout); in run()