Searched refs:grouplist (Results 1 – 2 of 2) sorted by relevance
/kernel/ |
D | groups.c | 42 static int groups_to_user(gid_t __user *grouplist, in groups_to_user() argument 52 if (put_user(gid, grouplist+i)) in groups_to_user() 60 gid_t __user *grouplist) in groups_from_user() argument 69 if (get_user(gid, grouplist+i)) in groups_from_user() 153 SYSCALL_DEFINE2(getgroups, int, gidsetsize, gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument 168 if (groups_to_user(grouplist, cred->group_info)) { in SYSCALL_DEFINE2() 190 SYSCALL_DEFINE2(setgroups, int, gidsetsize, gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument 203 retval = groups_from_user(group_info, grouplist); in SYSCALL_DEFINE2()
|
D | uid16.c | 114 static int groups16_to_user(old_gid_t __user *grouplist, in groups16_to_user() argument 125 if (put_user(group, grouplist+i)) in groups16_to_user() 133 old_gid_t __user *grouplist) in groups16_from_user() argument 141 if (get_user(group, grouplist+i)) in groups16_from_user() 154 SYSCALL_DEFINE2(getgroups16, int, gidsetsize, old_gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument 168 if (groups16_to_user(grouplist, cred->group_info)) { in SYSCALL_DEFINE2() 177 SYSCALL_DEFINE2(setgroups16, int, gidsetsize, old_gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument 190 retval = groups16_from_user(group_info, grouplist); in SYSCALL_DEFINE2()
|