[5292] in Kerberos
Re: Solaris 2.4/setreuid
daemon@ATHENA.MIT.EDU (Casper H.S. Dik - Network Security)
Mon May 29 05:23:25 1995
To: kerberos@MIT.EDU
Date: 29 May 1995 09:03:06 GMT
From: Casper.Dik@Holland.Sun.COM (Casper H.S. Dik - Network Security Engineer)
mike@fionn.lbl.gov (Michael Helm) writes:
>Anybody run beta 5 thru Solaris 2.4? I've been trying to build
>it, keeping to the instructions in doc/install.*, & (sorry about the
>long line, hope it makes it) ran into this:
>Looks like __svr4__ is supposed to hide this in src/lib/krb4/in_tkt.c
>[This is SUNWspro-3.0/bin/cc, btw]. Doesn't seem to be defined, tho.
The bug is in beta 5: the symbol __svr4__ is a GNU C ism.
>#ifdef __svr4__
>#define setreuid(r,e) setuid(r)
>#endif
Change this to read:
if defined(__svr4__) || defined(__SVR4)
(GNU cc defines __svr4__, SunPRO C (version 3.0 and later) defines
__SVR4)
Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.