Searched refs:pidFd (Results 1 - 1 of 1) sorted by relevance

/system/vold/
H A DVolumeManager.cpp450 int pidFd; local
473 pidFd = -1;
476 pidFd = openat(dirfd(dir), de->d_name, O_RDONLY | O_DIRECTORY | O_CLOEXEC);
477 if (pidFd < 0) {
480 if (fstat(pidFd, &sb) != 0) {
490 if (!android::vold::Readlinkat(pidFd, "ns/mnt", &pidName)) {
500 nsFd = openat(pidFd, "ns/mnt", O_RDONLY); // not O_CLOEXEC
560 close(pidFd);

Completed in 60 milliseconds