Searched refs:egroupid (Results 1 - 5 of 5) sorted by relevance

/ast/src/cmd/ksh93/sh/
H A Dsuid_exec.c94 static gid_t egroupid; variable
112 egroupid = getegid();
170 if(euserid == ruserid && egroupid == rgroupid)
206 effgid = egroupid;
214 if(effgid != egroupid)
307 else if(egroupid == statb.st_gid)
H A Dargs.c401 shp->gd->egroupid = shp->gd->groupid;
405 (shp->gd->groupid!=shp->gd->egroupid && setgid(shp->gd->egroupid)<0) ||
406 (shp->gd->userid==shp->gd->euserid && shp->gd->groupid==shp->gd->egroupid))
H A Dinit.c1286 shgd->egroupid=getegid();
1514 if(shp->gd->userid!=shp->gd->euserid || shp->gd->groupid!=shp->gd->egroupid)
1521 setgid(shp->gd->egroupid=shp->gd->groupid);
/ast/src/cmd/ksh93/bltins/
H A Dtest.c569 if(shp->gd->userid==shp->gd->euserid && shp->gd->groupid==shp->gd->egroupid)
574 if(shp->gd->groupid==shp->gd->euserid || setregid(shp->gd->egroupid,shp->gd->groupid)==0)
583 if(shp->gd->groupid!=shp->gd->egroupid)
584 setregid(shp->gd->groupid,shp->gd->egroupid);
587 else if(shp->gd->groupid!=shp->gd->egroupid)
588 setregid(shp->gd->groupid,shp->gd->egroupid);
605 else if(shp->gd->egroupid == statb.st_gid)
/ast/src/cmd/ksh93/include/
H A Ddefs.h124 gid_t egroupid; member in struct:shared

Completed in 25 milliseconds