Home
last modified time | relevance | path

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

/third_party/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
/third_party/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()
/third_party/python/Modules/
D_posixsubprocess.c727 PyObject *groups_list; in subprocess_fork_exec() local
753 &gid_object, &groups_list, &uid_object, &child_umask, in subprocess_fork_exec()
837 if (groups_list != Py_None) { in subprocess_fork_exec()
842 if (!PyList_Check(groups_list)) { in subprocess_fork_exec()
847 num_groups = PySequence_Size(groups_list); in subprocess_fork_exec()
865 elem = PySequence_GetItem(groups_list, i); in subprocess_fork_exec()
/third_party/node/src/
Dnode_credentials.cc318 Local<Array> groups_list = args[0].As<Array>(); in SetGroups() local
319 size_t size = groups_list->Length(); in SetGroups()
324 env->isolate(), groups_list->Get(env->context(), i).ToLocalChecked()); in SetGroups()