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

/external/chromium_org/sandbox/linux/suid/
H A Dlinux_util.c86 int proc_pid_fd = -1; local
91 proc_pid_fd = open(buf, O_RDONLY | O_DIRECTORY);
92 if (proc_pid_fd < 0)
94 if (fstat(proc_pid_fd, &statbuf) < 0 || uid != statbuf.st_uid) {
95 close(proc_pid_fd);
100 DIR* fd = opendirat(proc_pid_fd, "fd");
102 close(proc_pid_fd);
114 if (ProcPathGetInodeAt(&fd_inode, proc_pid_fd, buf)) {
118 close(proc_pid_fd);
130 close(proc_pid_fd);
[all...]

Completed in 91 milliseconds