Searched refs:setgid (Results 1 - 13 of 13) sorted by relevance

/ast/src/cmd/at/
H A Datx.c97 if (setgid(gid))
/ast/src/lib/libtk/compat/
H A Dunistd.h60 extern int setgid _ANSI_ARGS_((gid_t group));
/ast/src/cmd/ksh93/bltins/
H A Dregress.c77 "[+setgid(gid)?Sets the intercept effective gid to \agid\a. "
168 int setgid(gid_t gid) function
176 TRACE(egid, "setgid", ("%s", "EPERM"));
181 TRACE(egid, "setgid", ("%s", intercept_egid == intercept_rgid ? "egid==rgid" : "egid!=rgid"));
/ast/src/cmd/ksh93/sh/
H A Dsuid_exec.c215 if(effgid != rgroupid || setgid(rgroupid) < 0)
424 if((mode & S_ISGID) && setgid(group) < 0)
H A Dargs.c397 setgid(shp->gd->groupid);
405 (shp->gd->groupid!=shp->gd->egroupid && setgid(shp->gd->egroupid)<0) ||
H A Dinit.c1517 /* require sh -p to run setuid and/or setgid */
1521 setgid(shp->gd->egroupid=shp->gd->groupid);
/ast/src/cmd/probe/
H A Dprobe.c454 setgid(getgid());
/ast/src/lib/libast/misc/
H A Dprocopen.c639 setgid(getegid());
642 setgid(getgid());
H A Dfastfind.c411 setgid(getgid());
H A Dmagic.c2422 sfprintf(mp->tmp, ", setgid=%s", fmtgid(st->st_gid));
/ast/src/cmd/pax/
H A Dpax.h613 int setgid; /* set file gid to this value */ \
H A Dfile.c1169 post.gid = state.setgid;
1265 p->gid = state.setgid;
H A Dpax.c1852 if ((state.setuid = struid(opt.owner)) < 0 || (state.setgid = strgid(opt.owner)) < 0)

Completed in 42 milliseconds