Searched refs:fdpath (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dbsd-closefrom.c73 char fdpath[PATH_MAX], *endp; local
79 len = snprintf(fdpath, sizeof(fdpath), "/proc/%ld/fd", (long)getpid());
80 if (len > 0 && (size_t)len <= sizeof(fdpath) && (dirp = opendir(fdpath))) {
/freebsd-11-stable/contrib/pf/authpf/
H A Dauthpf.c753 char *fdpath = NULL, *userstr = NULL, *ipstr = NULL; local
773 if (asprintf(&fdpath, "/dev/fd/%d", dev) == -1)
787 pargv[2] = fdpath;
834 free(fdpath);

Completed in 106 milliseconds