Lines Matching defs:uid
2 * $Id: uid.c,v 1.14 2005-04-28 20:49:45 bfernhomberg Exp $
25 #include "uid.h"
36 pair->uid = geteuid ();
43 uid_t uid
46 uid = geteuid ();
49 if (uid == pair->uid && gid == pair->gid)
61 if ( seteuid ( pair->uid ) < 0 )
63 pair->uid, strerror(errno) );
65 uuid = pair->uid; /* ugly hack for utommode */
71 int uid, gid; /* derived ones go in here */
74 uid = user_to_uid ( (this_volume)->v_forceuid);
77 if ((!uid || uid == geteuid()) && (!gid || gid == getegid()))
93 if ( uid) {
94 if ( seteuid ( uid ) < 0 )
98 uuid = uid; /* ugly hack for utommode */
118 /* return proper uid */