Article View: news.software.nntp
Article #40945Re: inndstart: setreuid(222, 0) failed: Not owner
From: Andrew Gierth
Date: Tue, 19 Oct 1999 00:00
Date: Tue, 19 Oct 1999 00:00
29 lines
2243 bytes
2243 bytes
>>>>> "bill" == bill davidsen <davidsen@tmr.com> writes:
bill> I don't know what that spec says, but the BSD version works
bill> as INN attempts to use it. If someone has the UNIX98 spec and
bill> can tell me if it should work I'd be grateful. Or send me a man
bill> page, or whatever. If I can quote a spec they claim to meet
bill> they can't tell me it works "right" at least.
The Unix 98 spec (which is downloadable from the opengroup website
somewhere, I think) says:
The setreuid() function sets the real and effective user IDs of
the current process to the values specified by the ruid and euid
arguments. If ruid or euid is -1, the corresponding effective or
real user ID of the current process is left unchanged.
A process with appropriate privileges can set either ID to any
value. An unprivileged process can only set the effective user ID
if the euid argument is equal to either the real, effective, or
saved user ID of the process.
It is unspecified whether a process without appropriate privileges
is permitted to change the real user ID to match the current real,
effective or saved user ID of the process.
--
Andrew.
Technical Details
Message-ID:
<876703mb00.fsf@erlenstar.demon.co.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<7u5k8b$3uu$1@newssvr02.news.prodigy.com> <yl3dvcp42d.fsf@windlord.stanford.edu> <7uftfr$4pd$1@newssvr02.news.prodigy.com> <87ogdvral7.fsf@erlenstar.demon.co.uk> <7uibaq$ke0$1@newssvr02.news.prodigy.com>Show Full Headers
Complete Article Headers
Message-ID: <876703mb00.fsf@erlenstar.demon.co.uk> Subject: Re: inndstart: setreuid(222, 0) failed: Not owner Date: Tue, 19 Oct 1999 00:00:00 +0000 From: Andrew Gierth <andrew@erlenstar.demon.co.uk> References: <7u5k8b$3uu$1@newssvr02.news.prodigy.com> <yl3dvcp42d.fsf@windlord.stanford.edu> <7uftfr$4pd$1@newssvr02.news.prodigy.com> <87ogdvral7.fsf@erlenstar.demon.co.uk> <7uibaq$ke0$1@newssvr02.news.prodigy.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 538078811 X-Mayan-Date: Long count = 12.19.6.11.6; tzolkin = 13 Cimi; haab = 14 Yax X-Complaints-To: andrew@erlenstar.demon.co.uk Organization: disorganised X-Attribution: AG X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29 X-P-Persistent-Headers: are a bad idea. Newsgroups: news.software.nntp X-Post-Filter: postfilter v0.6 alpha