]> granicus.if.org Git - sudo/commit
Use /proc/self/fd instead of /proc/$$/fd
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 9 Jun 2007 11:26:43 +0000 (11:26 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 9 Jun 2007 11:26:43 +0000 (11:26 +0000)
commit8ae409b8f230eccada72cfe7a28876f283e99423
tree357163b15d5b1749caa24e3dede2b3a6afa9782c
parentfc38e7c21ef236032e617f0d1d382bcd809b74cc
Use /proc/self/fd instead of /proc/$$/fd

Move old-style fd closing into closefrom_fallback() and call
that if /proc/self/fd doesn't exist or the F_CLOSEM fcntl() fails
closefrom.c