Home
last modified time | relevance | path

Searched refs:fdpath (Results 1 – 4 of 4) sorted by relevance

/external/openssh/openbsd-compat/
Dbsd-closefrom.c73 char fdpath[PATH_MAX], *endp; in closefrom() local
79 len = snprintf(fdpath, sizeof(fdpath), "/proc/%ld/fd", (long)getpid()); in closefrom()
80 if (len > 0 && (size_t)len <= sizeof(fdpath) && (dirp = opendir(fdpath))) { in closefrom()
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify09.c48 static char fdpath[BUF_SIZE]; variable
144 len = readlink(symlnk, fdpath, sizeof(fdpath)); in verify_event()
147 fdpath[len] = 0; in verify_event()
150 (unsigned)event->pid, event->fd, fdpath); in verify_event()
/external/elfutils/libdw/
Ddwarf_begin_elf.c190 char *fdpath = realpath (devfdpath, NULL); in __libdw_debugdir() local
192 if (fdpath != NULL && fdpath[0] == '/' in __libdw_debugdir()
193 && (fddir = strrchr (fdpath, '/')) != NULL) in __libdw_debugdir()
196 return fdpath; in __libdw_debugdir()
/external/perfetto/src/perfetto_cmd/
Dperfetto_cmd.cc715 char fdpath[64]; in SaveOutputToDropboxOrCrash() local
716 sprintf(fdpath, "/proc/self/fd/%d", fileno(*trace_out_stream_)); in SaveOutputToDropboxOrCrash()
717 base::ScopedFile read_only_fd(base::OpenFile(fdpath, O_RDONLY)); in SaveOutputToDropboxOrCrash()