Re: [PATCH pidfd] signal: Add missing __user annotation to copy_siginfo_from_user_any

2020-12-07 Thread Christian Brauner
On Mon, Dec 07, 2020 at 01:02:52AM +0100, Jann Horn wrote: > copy_siginfo_from_user_any() takes a userspace pointer as second > argument; annotate the parameter type accordingly. > > Signed-off-by: Jann Horn > --- > I'm messing around with clang's version of __user annotation checking > and it sp

[PATCH pidfd] signal: Add missing __user annotation to copy_siginfo_from_user_any

2020-12-06 Thread Jann Horn
copy_siginfo_from_user_any() takes a userspace pointer as second argument; annotate the parameter type accordingly. Signed-off-by: Jann Horn --- I'm messing around with clang's version of __user annotation checking and it spotted this issue: kernel/signal.c:3759:44: warning: casting to dereferen