Home
last modified time | relevance | path

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

/tools/testing/selftests/net/af_unix/
Dscm_pidfd.c212 char sock_name[32]; member
271 unlink(self->server_addr.sock_name); in FIXTURE_TEARDOWN()
272 unlink(self->client_addr->sock_name); in FIXTURE_TEARDOWN()
282 snprintf(addr->sock_name, sizeof(addr->sock_name), "scm_pidfd_%d", getpid()); in fill_sockaddr()
283 addr->addrlen += strlen(addr->sock_name); in fill_sockaddr()
289 unlink(addr->sock_name); in fill_sockaddr()
291 memcpy(sun_path_buf, addr->sock_name, strlen(addr->sock_name)); in fill_sockaddr()
Dtest_unix_oob.c19 static char sock_name[32]; variable
66 unlink(sock_name); in die()
190 sprintf(sock_name, "unix_oob_%d", getpid()); in main()
191 unlink(sock_name); in main()
192 strcpy(consumer_addr.sun_path, sock_name); in main()