Path: utzoo!utstat!news-server.csri.toronto.edu!cs.utexas.edu!yale!think.com!paperboy!snorkelwacker.mit.edu!ira.uka.de!smurf!urlichs From: urlichs@smurf.sub.org (Matthias Urlichs) Newsgroups: news.software.b Subject: Re: A few questions about Cnews (latest version, setnewsids, etc.) Message-ID: <^=zcg2.zh5@smurf.sub.org> Date: 15 Nov 90 16:05:30 GMT References: <1990Nov6.204258.1833@uokmax.ecn.uoknor.edu> <1990Nov13.032443.9127@zoo.toronto.edu> Organization: University of Karlsruhe, FRG Lines: 21 In news.software.b, article <1990Nov13.032443.9127@zoo.toronto.edu>, henry@zoo.toronto.edu (Henry Spencer) writes: < In article urlichs@smurf.sub.org (Matthias Urlichs) writes: < > < >setnewsids is, according to notebook/ctlfiles, only needed when < >setuid(geteuid()) doesn't work. On A/UX 2.0, it does work. < < For some value of "work". The problem is that POSIX, and some systems < that are moving towards conformance with it, have a different idea of < how setuid(geteuid()) should work than the one that used to be widespread. A/UX, on the other hand, can cope with all of these ideas, depending on which compatibility library you link with (if any). The default, and the BSD compatibility mode, use the old semantics of setuid(geteuid); SVID and POSIX mode use the new one. Guess how I built my Cnews? -- Matthias Urlichs -- urlichs@smurf.sub.org -- urlichs@smurf.ira.uka.de /(o\ Humboldtstrasse 7 - 7500 Karlsruhe 1 - FRG -- +49+721+621127(0700-2330) \o)/