/osnet-11/usr/src/lib/libnsl/dial/ |
H A D | strsave.c | 64 uid_t euid; local 70 if ((euid = geteuid()) == 0) /* root can do all */ 72 if (euid == s.st_uid)
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | taint.c | 30 UV euid = PL_euid; local 34 s, PL_tainted, uid, euid)); 39 IV euid = PL_euid; local 43 s, PL_tainted, uid, euid));
|
H A D | perl.c | 3377 * would lose any euid we might have had). 3407 Perl_croak(aTHX_ "Can't swap uid and euid"); 3412 Perl_croak(aTHX_ "Can't reswap uid and euid"); 3430 /* If we can swap euid and uid, then we can determine access rights 3830 * Should go by suidscript, not uid!=euid: why disallow 3855 int euid = PerlProc_geteuid(); local 3861 euid |= egid << 16; 3863 if (uid && (euid != uid || egid != gid))
|
H A D | pp_sys.c | 236 Uid_t euid = geteuid(); local 246 if (setreuid(euid, ruid)) 249 if (setresuid(euid, ruid, (Uid_t)-1)) 271 if (setreuid(ruid, euid)) 274 if (setresuid(ruid, euid, (Uid_t)-1)) 5179 * only if the caller (euid?) is root. 5292 * if euid != 0 but in practice we cannot know which
|
/osnet-11/usr/src/lib/libadt_jni/com/sun/audit/ |
H A D | AuditSession.java | 67 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
|
/osnet-11/usr/src/lib/libbsm/common/ |
H A D | audit_crontab.c | 170 uid_t euid; local 175 euid = geteuid(); 213 (void) seteuid(euid);
|
H A D | adt.c | 1088 * Adjust buffer pointer to the first data item (euid). 1613 adt_set_user(const adt_session_data_t *session_data, uid_t euid, gid_t egid, argument 1628 if (ruid == ADT_NO_CHANGE || euid == ADT_NO_CHANGE || 1679 if (euid != ADT_NO_CHANGE) 1680 state->as_euid = euid;
|
H A D | adt_token.c | 514 uid_t euid; local 525 euid = ((union convert *)p_data)->tuid; 545 if (euid == AU_NOAUDITID) 546 euid = geteuid(); 567 au_to_process_ex(auid, euid, egid, ruid, rgid, pid, sid, tid));
|
H A D | au_to.c | 422 au_to_process(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, argument 443 adr_int32(&adr, (int32_t *)&euid, 1); 465 au_to_process_ex(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, argument 496 adr_int32(&adr, (int32_t *)&euid, 1); 546 au_to_subject(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, argument 567 adr_int32(&adr, (int32_t *)&euid, 1); 590 au_to_subject_ex(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, argument 624 adr_int32(&adr, (int32_t *)&euid, 1);
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | id.c | 212 uid_t euid; local 331 if ((euid = geteuid()) != user) 332 putid(sp, flags, " euid", (pw = getpwuid(euid)) ? pw->pw_name : (char*)0, euid);
|
/osnet-11/usr/src/lib/libadt_jni/common/ |
H A D | adt_jni.c | 299 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
|
/osnet-11/usr/src/lib/pam_modules/zfs_key/ |
H A D | zfs_key.c | 453 uid_t euid; local 545 * Temporarily switch over euid to ruid so that the kernel 550 euid = geteuid(); 556 if (euid != pw.pw_uid && setreuid(-1, pw.pw_uid) != 0) { 557 (void) setregid(-1, euid); 576 (void) setreuid(-1, euid);
|
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | recipient.c | 1305 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...] |
H A D | main.c | 1275 ** Since we can differentiate between uid and euid, 1278 ** root (euid has root). 3789 uid_t euid; local 3793 ** euid must be RunAsUid, 3805 ** if ruid != RunAsUid, euid == RunAsUid, then 3833 euid = geteuid(); 3846 else if (RunAsUid != euid && setuid(euid) == 0)
|
H A D | conf.c | 3594 uid_t euid = geteuid(); local 3597 syserr("cannot lockf(%s%s, fd=%d, type=%o, omode=%o, euid=%d)", 3598 filename, ext, fd, type, omode, euid); 3624 uid_t euid = geteuid(); local 3627 syserr("cannot flock(%s%s, fd=%d, type=%o, omode=%o, euid=%d)", 3628 filename, ext, fd, type, omode, euid);
|
/osnet-11/usr/src/lib/librestart/common/ |
H A D | librestart.h | 275 uid_t uid, euid; member in struct:method_context
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | privlib.c | 520 /* Now reset suid and euid */ 606 uid_t ruid, euid; local 608 euid = geteuid(); 611 if (euid == 0) { 673 if (euid == 0) 681 if (euid == 0)
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ |
H A D | cc_file.c | 1225 uid_t uid, euid; local
|