Searched refs:egid (Results 1 - 19 of 19) sorted by relevance

/osnet-11/usr/src/lib/libast/common/comp/
H A Deaccess.c24 * access() euid/egid implementation
59 static gid_t egid;
66 egid = getegid();
67 init = (ruid == euid && rgid == egid) ? 1 : -1;
89 else if (egid == st.st_gid)
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dregress.c69 "[101:egid?The intercept effective gid is set to \aoriginal-egid\a. The "
72 "intercepts are:]#?[original-egid:=1]"
76 "\aoriginal-egid\a.]"
79 "\aoriginal-egid\a.]"
118 "egid",
149 * egid intercepts
162 TRACE(egid, "getegid", ("%s", intercept_egid == intercept_rgid ? "egid==rgid" : "egid!
[all...]
/osnet-11/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
/osnet-11/usr/src/lib/libcmd/common/
H A Did.c214 gid_t egid; local
333 if ((egid = getegid()) != group)
334 putid(sp, flags, " egid", (grp = getgrgid(egid)) ? grp->gr_name : (char*)0, egid);
/osnet-11/usr/src/lib/librestart/common/
H A Dlibrestart.h276 gid_t gid, egid; member in struct:method_context
H A Dlibrestart.c2612 ci->egid = ci->gid = get_gid(value);
2622 ci->egid = get_gid(value);
2623 if (ci->egid == (gid_t)-1) {
2625 "Could not interpret profile egid value \"%s\", "
3024 cip->egid = (gid_t)-1;
3538 cip->egid = (gid_t)-1;
3578 * EINVAL - gid or egid is out of range (setregid)
3617 cip->egid != (gid_t)-1 ? cip->egid : cip->gid) != 0) {
3647 cip->egid !
[all...]
/osnet-11/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
/osnet-11/usr/src/cmd/perl/5.8.4/utils/port/
H A DInstallPerl77 my ($ruid, $euid, $rgid, $egid) = ($<, $>, $(, $));
238 $( = $) = $egid; $< = $> = $euid;
/osnet-11/usr/src/cmd/sendmail/src/
H A Drecipient.c1306 gid_t egid = 0; local
1319 egid = getegid();
1325 egid = ctladdr->q_gid;
1331 egid = RealGid;
1347 egid = DefGid;
1349 egid = FileMailer->m_gid;
1353 euid = egid = 0;
1363 if (egid == 0)
1364 egid = DefGid;
1375 errno = safefile(filename, euid, egid, use
[all...]
/osnet-11/usr/src/lib/pam_modules/zfs_key/
H A Dzfs_key.c454 gid_t egid; local
551 egid = getegid();
552 if (egid != pw.pw_gid && setregid(-1, pw.pw_gid) != 0) {
577 (void) setregid(-1, egid);
/osnet-11/usr/src/lib/libbsm/common/
H A Dau_to.c422 au_to_process(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, argument
444 adr_int32(&adr, (int32_t *)&egid, 1);
465 au_to_process_ex(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, argument
497 adr_int32(&adr, (int32_t *)&egid, 1);
546 au_to_subject(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, argument
568 adr_int32(&adr, (int32_t *)&egid, 1);
590 au_to_subject_ex(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, argument
625 adr_int32(&adr, (int32_t *)&egid, 1);
H A Dadt_token.c515 gid_t egid; local
527 egid = ((union convert *)p_data)->tgid;
548 if (egid == AU_NOAUDITID)
549 egid = getegid();
567 au_to_process_ex(auid, euid, egid, ruid, rgid, pid, sid, tid));
H A Dadt.c1613 adt_set_user(const adt_session_data_t *session_data, uid_t euid, gid_t egid, argument
1629 rgid == ADT_NO_CHANGE || egid == ADT_NO_CHANGE) {
1683 if (egid != ADT_NO_CHANGE)
1684 state->as_egid = egid;
/osnet-11/usr/src/lib/auditd_plugins/syslog/
H A Dsystoken.c813 int32_t ruid, rgid, egid, pid; local
818 adrm_int32(&(ctx->adr), &egid, 1);
830 * egid adr_int32
856 * egid adr_int32
887 * egid adr_int32
914 * egid adr_int32
1018 * egid adr_int32
1045 * egid adr_int32
1076 * egid adr_int32
1103 * egid adr_int3
[all...]
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dti_opts.c229 lcred->egid = ucred_getegid(uc);
H A Dsvc_door.c725 lcred->egid = dc.dc_egid;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dpp_sys.c238 Gid_t egid = getegid(); local
259 if (setregid(egid, rgid))
262 if (setresgid(egid, rgid, (Gid_t)-1))
280 if (setregid(rgid, egid))
283 if (setresgid(rgid, egid, (Gid_t)-1))
H A Dperl.c3857 int egid = PerlProc_getegid(); local
3861 euid |= egid << 16;
3863 if (uid && (euid != uid || egid != gid))
H A Dperl.h2944 int setresgid(gid_t rgid, gid_t egid, gid_t sgid);

Completed in 156 milliseconds