[Snort-devel] Re: SIGHUP doesn't work

Denny Page denny at ...2179...
Mon Sep 22 22:44:03 EDT 2003

> > BTW, can you not do a setreuid() back to root since the saved uid
> > is root?
> Yes you can, we should do that.

No, you shouldn't.  :-)

Once you've done a setuid to discard privilege, you should not reinstate it
for any reason.


More information about the Snort-devel mailing list