HomeSort by relevance Sort by last modified time
    Searched refs:proc_self_fd (Results 1 - 2 of 2) sorted by null

  /external/libchrome/sandbox/linux/services/
proc_util.cc 44 int proc_self_fd = HANDLE_EINTR( local
46 PCHECK(0 <= proc_self_fd);
48 // Ownership of proc_self_fd is transferred here, it must not be closed
50 ScopedDIR dir(fdopendir(proc_self_fd));
63 if (fd_num == proc_fd || fd_num == proc_self_fd) {
74 int proc_self_fd = local
77 PCHECK(0 <= proc_self_fd);
79 // Ownership of proc_self_fd is transferred here, it must not be closed
81 ScopedDIR dir(fdopendir(proc_self_fd));
93 if (fd_num == proc_fd || fd_num == proc_self_fd) {
    [all...]
  /bionic/linker/
linker.cpp 345 std::vector<char> buf(PATH_MAX), proc_self_fd(PATH_MAX);
346 __libc_format_buffer(&proc_self_fd[0], proc_self_fd.size(), "/proc/self/fd/%d", fd);
347 if (readlink(&proc_self_fd[0], &buf[0], buf.size()) == -1) {
348 PRINT("readlink(\"%s\") failed: %s [fd=%d]", &proc_self_fd[0], strerror(errno), fd);
    [all...]

Completed in 611 milliseconds