Searched refs:fdpath (Results 1 – 4 of 4) sorted by relevance
/external/openssh/openbsd-compat/ |
D | bsd-closefrom.c | 73 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/ |
D | fanotify09.c | 48 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/ |
D | dwarf_begin_elf.c | 190 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/ |
D | perfetto_cmd.cc | 715 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()
|