http://bugzilla.spamassassin.org/show_bug.cgi?id=3586
------- Additional Comments From [EMAIL PROTECTED] 2004-07-12 13:58 -------
Subject: Re: failed sanity check
On Mon, Jul 12, 2004 at 10:26:05AM -0700, [EMAIL PROTECTED] wrote:
> <Roderick>Moonflux: The program should be changed to set the real uid
> first, then the effective uid.
>
> I don't know what he means with that though :) But while I looked at the man
> page, I found a reference to POSIX::setuid(). Maybe that offers a way to
> check
> if the routine works?
Well, he means:
$<=1000;
$>=$<;
but that doesn't work either, already tested that. ;):
# perl -e 'sub p {print "RUID: $<, EUID: $>\n";} p; $<=1000; p;'
RUID: 0, EUID: 0
RUID: 0, EUID: 0
BTW: I had a friend test out his fbsd box:
default in fbsd 4.9 is perl 5.005:
dosuid = define
seteuid = define
setresuid = define
setreuid = define
suidsafe = undef
RUID: 0, EUID: 0
RUID: 0, EUID: 1000
RUID: 0, EUID: 1000
he also has the perl-5.6.1_15 ports version installed:
dosuid = define
seteuid = undef
setresuid = define
setreuid = define
suidsafe = undef
RUID: 0, EUID: 0
RUID: 0, EUID: 1000
RUID: 1000, EUID: 1000
# uname -a
FreeBSD some.host.name 4.9-RELEASE-p10 FreeBSD 4.9-RELEASE-p10 #0: Fri Jun 18
18:52:47 EDT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.