Home
last modified time | relevance | path

Searched refs:groups_list (Results 1 – 5 of 5) 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()
/external/python/cpython3/Modules/
D_posixsubprocess.c620 PyObject *groups_list; in subprocess_fork_exec() local
646 &gid_object, &groups_list, &uid_object, &child_umask, in subprocess_fork_exec()
753 if (groups_list != Py_None) { in subprocess_fork_exec()
758 if (!PyList_Check(groups_list)) { in subprocess_fork_exec()
763 num_groups = PySequence_Size(groups_list); in subprocess_fork_exec()
781 elem = PySequence_GetItem(groups_list, i); in subprocess_fork_exec()