[sudo-cvs] CVS commit: sudo

Todd.Miller at courtesan.com Todd.Miller at courtesan.com
Sun Jun 10 13:53:38 EDT 2007

Module Name:	sudo
Committed By:	millert
Date:		Sun Jun 10 17:53:38 UTC 2007

Modified Files:
	sudo [SUDO_1_6_9]: closefrom.c

Log Message:
Use /proc/self/fd instead of /proc/$$/fd.
Add fcntl F_CLOSEM support to closefrom().
Move old-style fd closing into closefrom_fallback() and call
that if /proc/self/fd doesn't exist or the F_CLOSEM fcntl() fails.

To generate a diff of this commit:
cvs rdiff -r1.6 -r1.6.2.1 sudo/closefrom.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

More information about the sudo-commits mailing list