/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | getegid.c | 32 int egid; local 34 if ((egid = _getegid()) > 0xffff) 35 egid = 60001; /* nobody */ 36 return (egid);
|
H A D | setegid.c | 30 setegid(int egid) argument 32 return (setregid(-1, egid));
|
H A D | setregid.c | 32 setregid(int gid, int egid) argument 34 if (gid > 0xffff || egid > 0xffff) { 38 return (_setregid(gid, egid));
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | mkdead.c | 37 gid_t egid = getegid(); local 79 setegid(egid); 100 setegid(egid);
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | gid.c | 219 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 D | audit_ftpd.c | 249 gid_t egid; local 275 egid = getegid(); 284 egid, uid, gid, pid, pid, &info.ai_termid));
|
H A D | adt_token.c | 507 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 D | au_to.c | 431 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);
|
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/ |
H A D | _setup.c | 68 gid_t gid = (gid_t)-1, egid = (gid_t)-1; local 131 egid = (gid_t)auxv->a_un.a_val; 238 _execname, _argv, uid, euid, gid, egid, NULL, auxflags,
|
/illumos-gate/usr/src/cmd/sgs/rtld/i386/ |
H A D | _setup.c | 73 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.c | 76 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.c | 73 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/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
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | id.c | 214 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 D | id.c | 73 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 D | main.c | 191 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 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
|
/illumos-gate/usr/src/cmd/pfexecd/ |
H A D | pfexecd.c | 354 gid_t gid, egid; local 402 gid = egid = (gid_t)-1; 413 egid = gid = get_gid(value, &res->pfr_allowed, path); 419 egid = get_gid(value, &res->pfr_allowed, path); 432 (gid != (gid_t)-1 && egid == gid) || iset != NULL; 436 res->pfr_egid = egid; 455 egid != (gid_t)-1 || gid != (gid_t)-1 || iset != NULL ||
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | recipient.c | 1306 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 D | setup.c | 197 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
|
/illumos-gate/usr/src/lib/librestart/common/ |
H A D | librestart.h | 274 gid_t gid, egid; member in struct:method_context
|
/illumos-gate/usr/src/cmd/sysdef/ |
H A D | sysdef.c | 86 static gid_t egid; variable 208 egid = getegid(); 266 setegid(egid); 522 setegid(egid);
|
/illumos-gate/usr/src/cmd/tip/ |
H A D | tip.h | 251 int gid, egid; /* real and effective group id's */ variable
|
/illumos-gate/usr/src/cmd/auditreduce/ |
H A D | token.c | 903 * 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 D | systoken.c | 826 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...] |