Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-closefrom.c126 char fdpath[PATH_MAX], *endp; in closefrom() local
137 len = snprintf(fdpath, sizeof(fdpath), "/proc/%ld/fd", (long)getpid()); in closefrom()
138 if (len > 0 && (size_t)len < sizeof(fdpath) && (dirp = opendir(fdpath))) { in closefrom()
/freebsd/contrib/pf/authpf/
H A Dauthpf.c750 char *fdpath = NULL, *userstr = NULL, *ipstr = NULL; in change_filter()
770 if (asprintf(&fdpath, "/dev/fd/%d", pfctl_fd(pfh)) == -1) in change_filter()
784 pargv[2] = fdpath; in change_filter()
831 free(fdpath); in change_filter()
752 char *fdpath = NULL, *userstr = NULL, *ipstr = NULL; change_filter() local