uid & UnixLib

John Tytgat John.Tytgat at aaug.net
Fri Dec 19 14:25:11 PST 2003


Triggered by post <URL:news:4c62b45e55sbellon at sbellon.de> I had a look
at the UID handing in UnixLib.  It looks like by default the UID is
set to 1 and when the system variable Unix$uid has a non-zero value, the
UID gets adjusted by that value.

Does anybody know why the latter only happens when the Unix$uid value is
non-zero ? I.e. why not allow UnixLib compiled program to be run as "root"
if the user really wants that ? On RISC OS this does not make any
difference at all.

John.
-- 
John Tytgat, in his comfy chair at home                                 BASS
John.Tytgat at aaug.net                             ARM powered, RISC OS driven




More information about the gcc mailing list