Home
last modified time | relevance | path

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

/dragonfly/usr.sbin/fstyp/
H A Dfstyp.c181 char fdpath[MAXPATHLEN]; in main() local
219 strlcpy(fdpath, path, sizeof(fdpath)); in main()
220 p = strchr(fdpath, '@'); in main()
224 fp = fopen(fdpath, "r"); in main()
226 if (strcmp(path, fdpath)) in main()
231 strlcpy(fdpath, path, sizeof(fdpath)); in main()
235 type_check(fdpath, fp); in main()
/dragonfly/contrib/cryptsetup/lib/
H A Dutils_debug.c30 char dirpath[MAX_SHORTNAME], fdpath[MAX_SHORTNAME], linkpath[MAX_PATHNAME]; in check_pid() local
45 snprintf(fdpath, sizeof(fdpath), "/proc/%d/fd/%s", pid, direntry->d_name); in check_pid()
47 if ((len = readlink(fdpath, linkpath, MAX_PATHNAME-1)) < 0) in check_pid()
/dragonfly/usr.sbin/authpf/
H A Dauthpf.c638 char *fdpath = NULL, *userstr = NULL, *ipstr = NULL; in change_filter() local
651 if (asprintf(&fdpath, "/dev/fd/%d", dev_fd) == -1) in change_filter()
670 pargv[2] = fdpath; in change_filter()
713 free(fdpath); in change_filter()