http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5518





------- Additional Comments From [EMAIL PROTECTED]  2007-06-15 08:41 -------
> > I wonder... if Net::Server is using POSIX::setuid and POSIX::setgid,
> > maybe that's the way to go
> 
> If we switch to POSIX::setuid too, that means we can get rid of
> the bug 3900 code in that same part of spamd.raw and in
> Mail::SA::Util.pm?

I have no idea how that behaves on Windows (Net::Server doesn't run
there I think).

I'm quite familiar with the issues we had with setting UID:
since Perl can't assign to both of $< and $> in one atomic operation,
one or the other order of assignment failed on some platform, the only
universal solution was POSIX::setuid, which does both in one go.

About setting groups I don't think these were as troublesome as
setting uid. I think POSIX::setgid is used now mostly because
POSIX::setuid needs to be used anyhow.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to