Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/s390/kernel/
Dcompat_linux.h104 long compat_sys_s390_getgroups16(int gidsetsize, u16 __user *grouplist);
105 long compat_sys_s390_setgroups16(int gidsetsize, u16 __user *grouplist);
/kernel/linux/linux-5.10/include/linux/
Dsyscalls.h748 asmlinkage long sys_getgroups(int gidsetsize, gid_t __user *grouplist);
749 asmlinkage long sys_setgroups(int gidsetsize, gid_t __user *grouplist);
1204 asmlinkage long sys_getgroups16(int gidsetsize, old_gid_t __user *grouplist);
1205 asmlinkage long sys_setgroups16(int gidsetsize, old_gid_t __user *grouplist);