Home
last modified time | relevance | path

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

/kernel/
Dgroups.c15 struct group_info *groups_alloc(int gidsetsize) in groups_alloc() argument
20 len = sizeof(struct group_info) + sizeof(kgid_t) * gidsetsize; in groups_alloc()
28 gi->ngroups = gidsetsize; in groups_alloc()
153 SYSCALL_DEFINE2(getgroups, int, gidsetsize, gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument
158 if (gidsetsize < 0) in SYSCALL_DEFINE2()
163 if (gidsetsize) { in SYSCALL_DEFINE2()
164 if (i > gidsetsize) { in SYSCALL_DEFINE2()
190 SYSCALL_DEFINE2(setgroups, int, gidsetsize, gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument
197 if ((unsigned)gidsetsize > NGROUPS_MAX) in SYSCALL_DEFINE2()
200 group_info = groups_alloc(gidsetsize); in SYSCALL_DEFINE2()
Duid16.c154 SYSCALL_DEFINE2(getgroups16, int, gidsetsize, old_gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument
159 if (gidsetsize < 0) in SYSCALL_DEFINE2()
163 if (gidsetsize) { in SYSCALL_DEFINE2()
164 if (i > gidsetsize) { in SYSCALL_DEFINE2()
177 SYSCALL_DEFINE2(setgroups16, int, gidsetsize, old_gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument
184 if ((unsigned)gidsetsize > NGROUPS_MAX) in SYSCALL_DEFINE2()
187 group_info = groups_alloc(gidsetsize); in SYSCALL_DEFINE2()