Searched refs:fd_path (Results 1 – 4 of 4) sorted by relevance
14 static char fd_path[PATH_MAX]; variable25 ret = readlink(proc_path, fd_path, sizeof(fd_path)); in tst_decode_fd()30 fd_path[ret] = '\0'; in tst_decode_fd()32 return fd_path; in tst_decode_fd()
129 const char* fd_path, in uvwasi__is_path_sandboxed() argument134 if (1 == uvwasi__is_absolute_path(fd_path, fd_path_len)) in uvwasi__is_path_sandboxed()135 return path == strstr(path, fd_path) ? 1 : 0; in uvwasi__is_path_sandboxed()138 if (fd_path_len == 1 && fd_path[0] == '.') { in uvwasi__is_path_sandboxed()148 if (path != strstr(path, fd_path)) in uvwasi__is_path_sandboxed()
113 const auto fd_path = fs::path("/proc") / std::to_string(pid) / "fd"; variable117 for (auto && fd : fs::directory_iterator(fd_path)) in __anon90a3d3f90102()
598 char *fd_path = alloca(PATH_MAX); in linux_get_device_address() local603 r = readlink(proc_path, fd_path, PATH_MAX - 1); in linux_get_device_address()605 fd_path[r] = '\0'; in linux_get_device_address()606 dev_node = fd_path; in linux_get_device_address()