Home
last modified time | relevance | path

Searched refs:groups_list (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/syscalls/setgroups/
Dsetgroups02.c82 GID_T groups_list[NGROUPS]; /* Array to hold gids for getgroups() */ variable
106 TEST(SETGROUPS(cleanup, gidsetsize, groups_list)); in main()
120 groups_list[0] = '\0'; in main()
121 if (GETGROUPS(cleanup, gidsetsize, groups_list) < 0) { in main()
126 if (groups_list[i] == user_info->pw_gid) { in main()
170 groups_list[0] = user_info->pw_gid; in setup()
Dsetgroups03.c87 GID_T *groups_list; /* Array to hold gids for getgroups() */ variable
115 groups_list = malloc(ngroups_max * sizeof(GID_T)); in main()
116 if (groups_list == NULL) { in main()
140 TEST(SETGROUPS(cleanup, gidsetsize, groups_list)); in main()
211 groups_list[0] = user_info->pw_gid; in setup1()
Dsetgroups04.c78 GID_T groups_list[NGROUPS]; variable
/external/ltp/testcases/kernel/syscalls/getgroups/
Dgetgroups03.c51 static GID_T groups_list[NGROUPS]; variable
71 TEST(GETGROUPS(cleanup, gidsetsize, groups_list)); in main()
176 if (groups_list[i] != groups[j]) { in verify_groups()
181 groups_list[i]); in verify_groups()
196 if (groups[i] != groups_list[j]) { in verify_groups()