[sudo-workers] closing all the file descriptors

Todd C. Miller Todd.Miller at courtesan.com
Thu Dec 9 19:27:47 EST 2004


In message <20041208154845.GA29979 at cosy.cit.nih.gov>
	so spake Anthony Iano-Fletcher (Anthony.Iano-Fletcher):

> There is a way to pass such info via file descriptor 3, but sudo
> closes all its file descriptors greater than stderr (2). Would a patch
> to add an option to change this behaviour be accepted? I'll happily make
> such a patch.

This is fairly easy to do.  What would you suggest as a command
line option for this.  Maybe -O for "keep open"?

 - todd



More information about the sudo-workers mailing list