Searched refs:pidFd (Results 1 – 1 of 1) sorted by relevance
515 int pidFd; in remountUid() local534 pidFd = -1; in remountUid()537 pidFd = openat(dirfd(dir), de->d_name, O_RDONLY | O_DIRECTORY | O_CLOEXEC); in remountUid()538 if (pidFd < 0) { in remountUid()541 if (fstat(pidFd, &sb) != 0) { in remountUid()551 if (android::vold::SaneReadLinkAt(pidFd, "ns/mnt", pidName, PATH_MAX) == -1) { in remountUid()561 nsFd = openat(pidFd, "ns/mnt", O_RDONLY); in remountUid()615 close(pidFd); in remountUid()