Home
last modified time | relevance | path

Searched refs:ngrps (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/kernel/syscalls/setgroups/
Dsetgroups01.c129 int len = NGROUPS, ngrps = 0; variable
156 TEST(SETGROUPS(cleanup, ngrps, list)); in main()
187 ngrps = GETGROUPS(cleanup, len, list); in setup()
188 if (ngrps == -1) { in setup()
/external/ltp/testcases/kernel/syscalls/getgroups/
Dgetgroups03.c94 int ngrps = 0; in readgroups() local
104 groups[ngrps++] = grp->gr_gid; in readgroups()
119 for (i = 0; i < ngrps; i++) { in readgroups()
124 groups[ngrps++] = g; in readgroups()
127 return ngrps; in readgroups()