On Wed, May 12, 2004 at 11:06:51PM -0000, Aaron Stone wrote:
> So the functions to choose from are:
> 
> setuid/setgid: Available on all platforms. Sets effective uid/gid. On Linux,
> sets real and saved uid/gid if caller is root. On BSD, always sets all of 
> them.
> 
> seteuid/setegid: Defined by BSD, available on Linux. Sets effective uid/gid.
> 
> setreuid/setregid: Also BSD, available on Linux. Sets real and effective 
> uid/gid.
> 
> 
> Unless I'm missing something, we just want to drop all priveleges and not
> regain them. Since we're on privileged ports, we're running as root. So
> setuid/setgid seems to make the most sense.
> 
> Aaron

Sounds fair enough.  It is key we get the problem fixed immeadietly.  

-- Dan Weber

Attachment: signature.asc
Description: Digital signature

Reply via email to