Searched defs:egid (Results 1 - 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/cmd/mail/
H A Dmkdead.c37 gid_t egid = getegid(); local
79 setegid(egid);
100 setegid(egid);
/illumos-gate/usr/src/uts/common/syscall/
H A Dgid.c219 setregid(gid_t rgid, gid_t egid) argument
229 (egid != -1 && !VALID_GID(egid, zone)))
232 if (egid != -1 && egid > MAXUID) {
233 if (ksid_lookupbygid(zone, egid, &ksid) != 0)
251 (egid == -1 || egid == cr->cr_rgid || egid == cr->cr_gid ||
252 egid
[all...]
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_ftpd.c249 gid_t egid; local
275 egid = getegid();
284 egid, uid, gid, pid, pid, &info.ai_termid));
H A Dadt_token.c507 gid_t egid; local
519 egid = ((union convert *)p_data)->tgid;
540 if (egid == AU_NOAUDITID)
541 egid = getegid();
559 au_to_process_ex(auid, euid, egid, ruid, rgid, pid, sid, tid));
H A Dau_to.c431 au_to_process(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, argument
453 adr_int32(&adr, (int32_t *)&egid, 1);
474 au_to_process_ex(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, argument
506 adr_int32(&adr, (int32_t *)&egid, 1);
583 au_to_subject(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, argument
605 adr_int32(&adr, (int32_t *)&egid, 1);
627 au_to_subject_ex(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, argument
662 adr_int32(&adr, (int32_t *)&egid, 1);
H A Dadt.c1636 adt_set_user(const adt_session_data_t *session_data, uid_t euid, gid_t egid, argument
1652 rgid == ADT_NO_CHANGE || egid == ADT_NO_CHANGE) {
1706 if (egid != ADT_NO_CHANGE)
1707 state->as_egid = egid;
/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.c73 gid_t gid = (gid_t)-1, egid = (gid_t)-1; local
136 egid = (gid_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.c76 gid_t gid = (gid_t)-1, egid = (gid_t)-1; local
147 egid = (gid_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.c73 gid_t gid = (gid_t)-1, egid = (gid_t)-1; local
136 egid = (gid_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.c130 gid_t gid = (gid_t)-1, egid = (gid_t)-1; local
194 egid = (gid_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.c214 gid_t egid; local
333 if ((egid = getegid()) != group)
334 putid(sp, flags, " egid", (grp = getgrgid(egid)) ? grp->gr_name : (char*)0, egid);
/illumos-gate/usr/src/cmd/id/
H A Did.c73 gid_t gid, egid, prgid; local
152 prgid = gid = egid = pwp->pw_gid;
157 egid = getegid();
163 gid = egid;
180 if ((gid = groupids[j]) == egid)
193 if (gid != egid)
194 prid(EGID, egid);
243 if (*idp == egid)
347 s = " egid";
/illumos-gate/usr/src/cmd/sh/
H A Dmain.c191 gid_t egid; local
199 * If the effective uid/gid do NOT match and the euid/egid
200 * is < 100 and the egid is NOT 1, reset the uid and gid to
205 egid = getegid();
209 if ((egid != rgid) && ((egid < 100) && (egid != 1)))
/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/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...]
/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
H A Dutil.c3604 security(uid_t uid, uid_t euid, gid_t gid, gid_t egid, int auxflags) argument
3622 if (egid == (gid_t)-1)
3623 egid = getegid();
3624 if (gid != egid)
/illumos-gate/usr/src/cmd/pfexecd/
H A Dpfexecd.c355 gid_t gid, egid; local
403 gid = egid = (gid_t)-1;
414 egid = gid = get_gid(value, &res->pfr_allowed, path);
420 egid = get_gid(value, &res->pfr_allowed, path);
433 (gid != (gid_t)-1 && egid == gid) || iset != NULL;
437 res->pfr_egid = egid;
456 egid != (gid_t)-1 || gid != (gid_t)-1 || iset != NULL ||
/illumos-gate/usr/src/lib/librestart/common/
H A Dlibrestart.h274 gid_t gid, egid; member in struct:method_context
/illumos-gate/usr/src/cmd/sysdef/
H A Dsysdef.c86 static gid_t egid; variable
208 egid = getegid();
266 setegid(egid);
522 setegid(egid);
/illumos-gate/usr/src/cmd/tip/
H A Dtip.h251 int gid, egid; /* real and effective group id's */ variable
/illumos-gate/usr/src/cmd/auditreduce/
H A Dtoken.c903 * egid adr_int32
913 int32_t auid, euid, egid, ruid, rgid, pid; local
919 adrm_int32(adr, &egid, 1);
944 if (m_groupe == egid)
953 ((obj_group == egid) ||
970 * egid adr_int32
983 int32_t auid, euid, egid, ruid, rgid, pid; local
990 adrm_int32(adr, &egid, 1);
1012 if (m_groupr == egid)
1016 if (m_groupe == egid)
1052 int32_t auid, euid, egid, ruid, rgid, pid; local
1123 int32_t auid, euid, egid, ruid, rgid, pid; local
1304 int32_t auid, euid, egid, ruid, rgid, pid; local
1367 int32_t auid, euid, egid, ruid, rgid, pid; local
1429 int32_t auid, euid, egid, ruid, rgid, pid; local
1493 int32_t auid, euid, egid, ruid, rgid, pid; local
[all...]
/illumos-gate/usr/src/lib/auditd_plugins/syslog/
H A Dsystoken.c826 int32_t ruid, rgid, egid, pid; local
831 adrm_int32(&(ctx->adr), &egid, 1);
843 * egid adr_int32
869 * egid adr_int32
900 * egid adr_int32
927 * egid adr_int32
1031 * egid adr_int32
1058 * egid adr_int32
1089 * egid adr_int32
1116 * egid adr_int3
[all...]
/illumos-gate/usr/src/uts/common/rpc/
H A Dsvc.h1080 gid_t egid; /* effective gid */ member in struct:__svc_local_cred_t

Completed in 124 milliseconds

12