Searched refs:fd_socket (Results 1 – 1 of 1) sorted by relevance
380 int fd_socket[2]; in create_userns_hierarchy() local389 ret = socketpair(AF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0, fd_socket); in create_userns_hierarchy()394 h->fd_event = fd_socket[1]; in create_userns_hierarchy()409 bytes = write_nointr(fd_socket[0], "1", 1); /* Inform the child we wrote a mapping. */ in create_userns_hierarchy()411 bytes = write_nointr(fd_socket[0], "0", 1); /* Inform the child we didn't write a mapping. */ in create_userns_hierarchy()419 bytes = read_nointr(fd_socket[0], &c, 1); in create_userns_hierarchy()445 close(fd_socket[0]); in create_userns_hierarchy()446 close(fd_socket[1]); in create_userns_hierarchy()