Searched refs:dummy_fd (Results 1 – 3 of 3) sorted by relevance
294 int dummy_fd; in ForkWithRealPid() local299 dummy_fd = socket(PF_UNIX, SOCK_DGRAM, 0); in ForkWithRealPid()300 if (dummy_fd < 0) { in ForkWithRealPid()304 if (!base::FileDescriptorGetInode(&dummy_inode, dummy_fd)) { in ForkWithRealPid()321 fds.push_back(dummy_fd); // kDummyFDIndex in ForkWithRealPid()354 close(dummy_fd); in ForkWithRealPid()358 close(dummy_fd); in ForkWithRealPid()359 dummy_fd = -1; in ForkWithRealPid()422 if (dummy_fd >= 0) in ForkWithRealPid()423 close(dummy_fd); in ForkWithRealPid()
158 int dummy_fd = -1; in Init() local160 dummy_fd = socket(PF_UNIX, SOCK_DGRAM, 0); in Init()161 CHECK(dummy_fd >= 0); in Init()162 fds_to_map.push_back(std::make_pair(dummy_fd, kZygoteIdFd)); in Init()189 if (base::FileDescriptorGetInode(&inode, dummy_fd)) { in Init()190 close(dummy_fd); in Init()
76 const int dummy_fd = child_fds[content::ZygoteForkDelegate::kDummyFDIndex]; in ChildNaClLoaderInit() local101 if (IGNORE_EINTR(close(dummy_fd)) != 0) in ChildNaClLoaderInit()