Commit 9fde1f47 authored by Linus Torvalds's avatar Linus Torvalds

Annotate uid16 with user pointer annotations.

parent 2f14cd23
......@@ -107,7 +107,7 @@ asmlinkage long sys_setfsgid16(old_gid_t gid)
return sys_setfsgid((gid_t)gid);
}
asmlinkage long sys_getgroups16(int gidsetsize, old_gid_t *grouplist)
asmlinkage long sys_getgroups16(int gidsetsize, old_gid_t __user *grouplist)
{
old_gid_t groups[NGROUPS];
int i,j;
......@@ -126,7 +126,7 @@ asmlinkage long sys_getgroups16(int gidsetsize, old_gid_t *grouplist)
return i;
}
asmlinkage long sys_setgroups16(int gidsetsize, old_gid_t *grouplist)
asmlinkage long sys_setgroups16(int gidsetsize, old_gid_t __user *grouplist)
{
old_gid_t groups[NGROUPS];
gid_t new_groups[NGROUPS];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment