]> granicus.if.org Git - sudo/commit
FreeBSD's /dev/fd only contains fds 0-2 unless fdescfs is mounted.
authorTodd C. Miller <Todd.Miller@sudo.ws>
Fri, 26 Apr 2019 21:21:29 +0000 (15:21 -0600)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Fri, 26 Apr 2019 21:21:29 +0000 (15:21 -0600)
commit30a56af6ef885a3d6816ef74aa34e218b0aa93c0
tree599f358388a6410a80841f5e1647d1f7a6c381a6
parentaa0146d68d01571287529900310961ab8a9993f2
FreeBSD's /dev/fd only contains fds 0-2 unless fdescfs is mounted.
In practice this doesn't matter since FreeBSD >= 8 has a native closefrom
lib/util/closefrom.c