Searched refs:gidsetsize (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/kernel/ |
D | groups.c | 15 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() 161 SYSCALL_DEFINE2(getgroups, int, gidsetsize, gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument 166 if (gidsetsize < 0) in SYSCALL_DEFINE2() 171 if (gidsetsize) { in SYSCALL_DEFINE2() 172 if (i > gidsetsize) { in SYSCALL_DEFINE2() 198 SYSCALL_DEFINE2(setgroups, int, gidsetsize, gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument 205 if ((unsigned)gidsetsize > NGROUPS_MAX) in SYSCALL_DEFINE2() 208 group_info = groups_alloc(gidsetsize); in SYSCALL_DEFINE2()
|
D | uid16.c | 154 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-6.12.1/include/linux/ |
D | syscalls.h | 684 asmlinkage long sys_getgroups(int gidsetsize, gid_t __user *grouplist); 685 asmlinkage long sys_setgroups(int gidsetsize, gid_t __user *grouplist); 1144 asmlinkage long sys_getgroups16(int gidsetsize, old_gid_t __user *grouplist); 1145 asmlinkage long sys_setgroups16(int gidsetsize, old_gid_t __user *grouplist);
|