Searched defs:euid (Results 1 - 25 of 47) sorted by relevance

12

/illumos-gate/usr/src/cmd/bnu/
H A Dstrsave.c66 uid_t euid; local
72 if( (euid = geteuid()) == 0 )
74 if( euid == s.st_uid )
/illumos-gate/usr/src/ucbcmd/whoami/
H A Dwhoami.c34 uid_t euid; local
43 euid = geteuid();
44 pp = getpwuid(euid);
46 (void) printf(gettext(MSG), euid); local
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dstrsave.c64 uid_t euid; local
70 if ((euid = geteuid()) == 0) /* root can do all */
72 if (euid == s.st_uid)
/illumos-gate/usr/src/lib/libast/common/preroot/
H A Dispreroot.c45 int euid; local
51 if ((ruid = getuid()) != (euid = geteuid())) setuid(ruid);
53 if (ruid != euid) setuid(euid);
H A Dgetpreroot.c69 int euid; local
82 if ((ruid = getuid()) != (euid = geteuid())) setuid(ruid);
115 if (ruid != euid) setuid(euid);
156 if (ruid != euid) setuid(euid);
/illumos-gate/usr/src/cmd/vntsd/
H A Dauth.c154 * euid The effective UID of a user account to check authorization
161 auth_check_euid(uid_t euid, char *group_name) argument
167 if (euid == (uid_t)-1) {
172 passwdp = getpwuid(euid);
/illumos-gate/usr/src/uts/common/syscall/
H A Duid.c264 setreuid(uid_t ruid, uid_t euid) argument
277 (euid != -1 && !VALID_UID(euid, zone)))
280 if (euid != -1 && euid > MAXUID) {
281 if (ksid_lookupbyuid(zone, euid, &ksid) != 0)
309 } else if (euid != -1 &&
310 euid != cr->cr_ruid && euid != cr->cr_uid &&
311 euid !
[all...]
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_ftpd.c155 ceuid = geteuid(); /* save current euid */
248 uid_t euid; local
274 euid = geteuid();
283 (void) au_write(rd, au_to_subject_ex(info.ai_auid, euid,
H A Daudit_crontab.c171 uid_t euid; local
176 euid = geteuid();
214 (void) seteuid(euid);
/illumos-gate/usr/src/lib/libadt_jni/com/sun/audit/
H A DAuditSession.java67 int euid, int egid, int ruid, int rgid,
204 public void setUser(int euid, int egid, int ruid, int rgid, argument
209 sessionAttr(sh, euid, egid, ruid, rgid,
66 sessionAttr(byte[] sessionHandle, int euid, int egid, int ruid, int rgid, String hostname, int context) argument
/illumos-gate/usr/src/cmd/sgs/rtld/i386/
H A D_setup.c72 uid_t uid = (uid_t)-1, euid = (uid_t)-1; local
128 euid = (uid_t)auxv->a_un.a_val;
238 _execname, _argv, uid, euid, gid, egid, NULL, auxflags,
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/
H A D_setup.c75 uid_t uid = (uid_t)-1, euid = (uid_t)-1; local
139 euid = (uid_t)auxv->a_un.a_val;
242 _execname, _argv, uid, euid, gid, egid,
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/
H A D_setup.c72 uid_t uid = (uid_t)-1, euid = (uid_t)-1; local
128 euid = (uid_t)auxv->a_un.a_val;
230 _execname, _argv, uid, euid, gid, egid, NULL, auxflags,
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/
H A D_setup.c129 uid_t uid = (uid_t)-1, euid = (uid_t)-1; local
186 euid = (uid_t)auxv->a_un.a_val;
313 _execname, _argv, uid, euid, gid, egid, NULL, auxflags,
/illumos-gate/usr/src/lib/libcmd/common/
H A Did.c212 uid_t euid; local
331 if ((euid = geteuid()) != user)
332 putid(sp, flags, " euid", (pw = getpwuid(euid)) ? pw->pw_name : (char*)0, euid);
/illumos-gate/usr/src/cmd/csh/
H A Dsh.exp.c69 static uid_t euid; local
78 euid = geteuid();
84 if (euid == 0) {
/illumos-gate/usr/src/cmd/id/
H A Did.c72 uid_t uid, euid; local
151 uid = euid = pwp->pw_uid;
156 euid = geteuid();
162 uid = euid;
191 if (uid != euid)
192 prid(EUID, euid);
339 s = " euid";
/illumos-gate/usr/src/cmd/sh/
H A Dhashserv.c458 static uid_t euid; local
463 euid = geteuid();
472 if(euid == 0) {
H A Dmain.c190 uid_t euid; local
199 * If the effective uid/gid do NOT match and the euid/egid
203 euid = geteuid();
207 if ((euid != ruid) && (euid < 100))
/illumos-gate/usr/src/cmd/streams/strcmd/
H A Dstrchg.c115 int euid; /* effective uid */ local
144 if ((euid = geteuid()) != 0) {
151 if (euid != stats.st_uid) {
/illumos-gate/usr/src/lib/libadt_jni/common/
H A Dadt_jni.c299 jint euid, jint egid, jint ruid, jint rgid,
315 } else if (adt_set_user(state, euid, egid, ruid, rgid, termid,
297 Java_com_sun_audit_AuditSession_sessionAttr(JNIEnv *env, jobject cls, jbyteArray jstate, jint euid, jint egid, jint ruid, jint rgid, jstring jhostname, jint context) argument
/illumos-gate/usr/src/cmd/power/
H A Dparse.c199 uid_t euid; local
202 euid = geteuid();
204 mesg(MEXIT, "cannot reset euid to %d, %s\n",
207 (void) seteuid(euid);
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_door.c270 uid_t euid; local
273 euid = ucred_geteuid(ucred);
275 if ((getpwuid_r(euid, &pwd, buf, sizeof (buf)) == NULL) ||
/illumos-gate/usr/src/cmd/sendmail/src/
H A Drecipient.c1305 uid_t euid = 0; local
1318 euid = geteuid();
1324 euid = ctladdr->q_uid;
1330 euid = RealUid;
1338 euid = DefUid;
1343 euid = FileMailer->m_uid;
1353 euid = egid = 0;
1358 if (euid == 0)
1360 euid = DefUid;
1375 errno = safefile(filename, euid, egi
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dsetup.c197 char *execname, char **argv, uid_t uid, uid_t euid, gid_t gid, gid_t egid,
348 security(uid, euid, gid, egid, auxflags);
195 setup(char **envp, auxv_t *auxv, Word _flags, char *_platform, int _syspagsz, char *_rtldname, ulong_t ld_base, ulong_t interp_base, int fd, Phdr *phdr, char *execname, char **argv, uid_t uid, uid_t euid, gid_t gid, gid_t egid, void *aoutdyn, int auxflags, uint_t *hwcap) argument

Completed in 106 milliseconds

12