Home
last modified time | relevance | path

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

/linux/kernel/
A Dgroups.c15 struct group_info *groups_alloc(int gidsetsize) in groups_alloc() argument
18 gi = kvmalloc(struct_size(gi, gid, gidsetsize), GFP_KERNEL_ACCOUNT); in groups_alloc()
23 gi->ngroups = gidsetsize; in groups_alloc()
148 SYSCALL_DEFINE2(getgroups, int, gidsetsize, gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument
153 if (gidsetsize < 0) in SYSCALL_DEFINE2()
158 if (gidsetsize) { in SYSCALL_DEFINE2()
159 if (i > gidsetsize) { in SYSCALL_DEFINE2()
185 SYSCALL_DEFINE2(setgroups, int, gidsetsize, gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument
192 if ((unsigned)gidsetsize > NGROUPS_MAX) in SYSCALL_DEFINE2()
195 group_info = groups_alloc(gidsetsize); in SYSCALL_DEFINE2()
A 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()
/linux/arch/s390/kernel/
A Dcompat_linux.h104 long compat_sys_s390_getgroups16(int gidsetsize, u16 __user *grouplist);
105 long compat_sys_s390_setgroups16(int gidsetsize, u16 __user *grouplist);
/linux/include/linux/
A Dsyscalls.h763 asmlinkage long sys_getgroups(int gidsetsize, gid_t __user *grouplist);
764 asmlinkage long sys_setgroups(int gidsetsize, gid_t __user *grouplist);
1228 asmlinkage long sys_getgroups16(int gidsetsize, old_gid_t __user *grouplist);
1229 asmlinkage long sys_setgroups16(int gidsetsize, old_gid_t __user *grouplist);

Completed in 14 milliseconds