Searched refs:groups (Results 1 - 12 of 12) sorted by relevance

/ast/src/lib/libast/features/
H A Dbotch.c48 gid_t groups[32 * sizeof(int) / sizeof(gid_t)]; local
51 if ((n = getgroups((sizeof(groups) / sizeof(groups[0])) / r, groups)) > 0)
54 groups[i] = ((gid_t)0);
55 if (getgroups(i, groups) != i)
57 if (groups[i] != ((gid_t)0))
59 groups[i] = ((gid_t)-1);
60 if (getgroups(i, groups) != i)
62 if (groups[
[all...]
/ast/src/lib/libast/comp/
H A Deaccess.c107 static gid_t* groups;
113 if (!(groups = newof(0, gid_t, ngroups + 1, 0)))
116 ngroups = getgroups(ngroups, groups);
120 if (groups[n] == st.st_gid)
/ast/src/lib/libcmd/
H A Did.c38 "groups the current process belongs to will also be written.]"
49 "[G:groups?Writes only the supplementary group IDs.]"
50 "[s:fair-share?Writes fair share scheduler IDs and groups on systems that "
216 static gid_t* groups; local
223 * get supplemental groups if required
232 if ((maxgroups = getgroups(0, groups)) <= 0)
234 if (!(groups = newof(0, gid_t, maxgroups + 1, 0)))
237 ngroups = getgroups(maxgroups, groups);
240 for (k = 0; k < j && groups[k] != groups[
[all...]
/ast/src/lib/libast/astsa/
H A Dstrmatch.c77 short groups; member in struct:__anon246
208 if (g < MAXGROUP && (!r || g > mp->current.groups))
218 mp->current.groups = oldg;
254 mp->current.groups = oldg;
285 mp->current.groups = g;
332 mp->current.groups = g;
338 mp->best.groups = g;
559 match.current.groups = 0;
564 match.current.groups++;
578 if (n > match.current.groups)
[all...]
/ast/src/cmd/3d/
H A Dstrmatch.c153 short groups; member in struct:Group_s
306 if (g < MAXGROUP && (!r || g > mp->current.groups))
316 mp->current.groups = oldg;
358 mp->current.groups = oldg;
389 mp->current.groups = g;
394 error(-3, "best#%d groups=%d next=\"%s\"", __LINE__, mp->best.groups, mp->best.next_s);
444 mp->current.groups = g;
450 mp->best.groups = g;
452 error(-3, "best#%d groups
[all...]
/ast/src/cmd/ksh93/sh/
H A Dsuid_exec.c310 /* on some systems you can be in several groups */
314 gid_t *groups=0; local
319 if((maxgroups=getgroups(0,groups)) < 0)
325 groups = (gid_t*)malloc((maxgroups+1)*sizeof(gid_t));
326 n = getgroups(maxgroups,groups);
329 if(groups[n] == statb.st_gid)
/ast/src/cmd/ksh93/bltins/
H A Dtest.c608 /* on some systems you can be in several groups */
612 gid_t *groups; local
623 groups = (gid_t*)stakalloc((maxgroups+1)*sizeof(gid_t));
624 n = getgroups(maxgroups,groups);
627 if(groups[n] == statb.st_gid)
/ast/src/cmd/INIT/
H A Diffe.sh828 passed to all feature tests. Subsequent groups
980 from the cross-product of \b-\b separated directory groups
1874 groups=
2134 *) groups="$groups $1"
2139 --*) groups="$groups $1" ;;
2148 --*) groups="$groups $x" ;;
2168 --*) groups
[all...]
/ast/src/lib/libcs/
H A Dcsopen.c630 gid_t groups[NGROUPS_MAX + 1]; local
901 for (n = getgroups(elementsof(groups), groups); n >= 0; n--)
902 if (gid == groups[n])
/ast/src/cmd/dsslib/stats/
H A Dstats.c28 " groups are counted. If any of \b--average\b, \b--count\b,"
125 int groups; member in struct:State_s
379 state->groups++;
538 if (!state->key && !(state->key = vmnewof(state->vm, 0, Cxoperand_t, state->groups, 0)))
/ast/src/cmd/ksh93/tests/
H A Dcomvar.sh97 groups="default"
/ast/src/cmd/nmake/
H A DMakerules.mk57 set option=';recurse;sa;-;Set the recursive \b:MAKE:\b \aaction\a:;[action:=1]{[+combine?Combine all recursive makefiles into one rooted at the current directory. \b::\b, \b:PACKAGE:\b, \b.SOURCE\b*, and \bLDLIBRARIES\b are intercepted to adjust relative directory and library references. Complex makefile hierarchies may not be amenable to combination.][+implicit?All makefiles in all subdirectories are treated as if they contained \b:MAKE:\b.][+list?List the recursion directories, one per line, on the standard output and exit. A \b-\b prerequisite separates groups that may be made concurrently and a \b+\b prerequisite separates leaf directories from intermediate directories.][+only?Disable component closure and operate on explicit prerequisites only.][+prereqs?List the recursion directory dependencies as a makefile on the standard output and exit.][+\anumber\a?Set the directory recursion concurrency level to \anumber\a.]}'

Completed in 44 milliseconds