[1427] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

Re: __svr4__ define in SunPro C 2.0.1 / Solaris 2.4

daemon@ATHENA.MIT.EDU (John T Kohl)
Sun May 21 21:51:20 1995

Date: Sun, 21 May 1995 21:49:07 -0400
From: John T Kohl <jtkohl@MIT.EDU>
To: epeisach@MIT.EDU
Cc: krb5-bugs@MIT.EDU
In-Reply-To: "[1422] in Kerberos-V5-bugs"

Not all systems which have setreuid() in the C library really support
it, e.g. 4.4BSD or 4.4BSD-Lite derived systems.  On those systems, you
want to use seteuid()/setegid() when you want to change identities.

I can point you to updated krb4 ticket file code which uses seteuid() to
do what I believe is the Right Thing for setuid programs, as far as
getting the file owned by the right user is concerned.

==John

home help back first fref pref prev next nref lref last post