Commit adc5d875 authored by Jann Horn's avatar Jann Horn Committed by Christian Brauner

signal: Add missing __user annotation to copy_siginfo_from_user_any

copy_siginfo_from_user_any() takes a userspace pointer as second
argument; annotate the parameter type accordingly.
Signed-off-by: default avatarJann Horn <jannh@google.com>
Link: https://lore.kernel.org/r/20201207000252.138564-1-jannh@google.comSigned-off-by: default avatarChristian Brauner <christian.brauner@ubuntu.com>
parent 7c53f6b6
......@@ -3701,7 +3701,8 @@ static bool access_pidfd_pidns(struct pid *pid)
return true;
}
static int copy_siginfo_from_user_any(kernel_siginfo_t *kinfo, siginfo_t *info)
static int copy_siginfo_from_user_any(kernel_siginfo_t *kinfo,
siginfo_t __user *info)
{
#ifdef CONFIG_COMPAT
/*
......
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