Home
last modified time | relevance | path

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

/kernel/
Dgroups.c64 static int groups_to_user(gid_t __user *grouplist, in groups_to_user() argument
74 if (put_user(gid, grouplist+i)) in groups_to_user()
82 gid_t __user *grouplist) in groups_from_user() argument
91 if (get_user(gid, grouplist+i)) in groups_from_user()
190 SYSCALL_DEFINE2(getgroups, int, gidsetsize, gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument
205 if (groups_to_user(grouplist, cred->group_info)) { in SYSCALL_DEFINE2()
227 SYSCALL_DEFINE2(setgroups, int, gidsetsize, gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument
240 retval = groups_from_user(group_info, grouplist); in SYSCALL_DEFINE2()
Duid16.c111 static int groups16_to_user(old_gid_t __user *grouplist, in groups16_to_user() argument
122 if (put_user(group, grouplist+i)) in groups16_to_user()
130 old_gid_t __user *grouplist) in groups16_from_user() argument
138 if (get_user(group, grouplist+i)) in groups16_from_user()
151 SYSCALL_DEFINE2(getgroups16, int, gidsetsize, old_gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument
165 if (groups16_to_user(grouplist, cred->group_info)) { in SYSCALL_DEFINE2()
174 SYSCALL_DEFINE2(setgroups16, int, gidsetsize, old_gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument
187 retval = groups16_from_user(group_info, grouplist); in SYSCALL_DEFINE2()