Home
last modified time | relevance | path

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

/kernel/
Dgroups.c37 static int groups_to_user(gid_t __user *grouplist, in groups_to_user() argument
47 if (put_user(gid, grouplist+i)) in groups_to_user()
55 gid_t __user *grouplist) in groups_from_user() argument
64 if (get_user(gid, grouplist+i)) in groups_from_user()
148 SYSCALL_DEFINE2(getgroups, int, gidsetsize, gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument
163 if (groups_to_user(grouplist, cred->group_info)) { in SYSCALL_DEFINE2()
185 SYSCALL_DEFINE2(setgroups, int, gidsetsize, gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument
198 retval = groups_from_user(group_info, grouplist); in SYSCALL_DEFINE2()
Duid16.c114 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()