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





------- Additional Comments From [EMAIL PROTECTED]  2007-06-15 11:19 -------
> I'd be hesitant to
> remove too much of the sanity-checks though

Sanity checks are fine. I was thinking more about the strange code that's
labeled as workaround for BSD peculiarities that can all be replaced with a call
to POSIX::setuid. At least that's what I recall from when I looked at it --
right now I'm about to get on an airplane and can't take time for another close
look.

> this is what amavisd-new does, if it is allowed to
> change uid and gid by itself
>
>  $( = $gid;  # real GID
>  $) = "$gid $gid";  # effective GID

That's exactly what will break if done under MacOS as root to try to change the
group to 'nobody' is $gid was set from getpwnam(), and what I want to replace
with POSIX::setgid() if we don't kludge in something just in the case of MacOS
to change the unsigned ints into signed ints.




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

Reply via email to