diff options
author | 2021-01-24 09:35:28 -0800 | |
---|---|---|
committer | 2021-01-24 09:35:28 -0800 | |
commit | c509ce2378e196758095c292f7a1df826d971796 (patch) | |
tree | e907f720606333999504cd39145bb91fd8ea9505 /kernel/signal.c | |
parent | Merge tag '5.11-rc4-smb3' of git://git.samba.org/sfrench/cifs-2.6 (diff) | |
parent | kthread: remove comments about old _do_fork() helper (diff) | |
download | linux-c509ce2378e196758095c292f7a1df826d971796.tar.gz linux-c509ce2378e196758095c292f7a1df826d971796.tar.bz2 linux-c509ce2378e196758095c292f7a1df826d971796.zip |
Merge tag 'for-linus-2021-01-24' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux
Pull misc fixes from Christian Brauner:
- Jann reported sparse complaints because of a missing __user
annotation in a helper we added way back when we added
pidfd_send_signal() to avoid compat syscall handling. Fix it.
- Yanfei replaces a reference in a comment to the _do_fork() helper I
removed a while ago with a reference to the new kernel_clone()
replacement
- Alexander Guril added a simple coding style fix
* tag 'for-linus-2021-01-24' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux:
kthread: remove comments about old _do_fork() helper
Kernel: fork.c: Fix coding style: Do not use {} around single-line statements
signal: Add missing __user annotation to copy_siginfo_from_user_any
Diffstat (limited to 'kernel/signal.c')
-rw-r--r-- | kernel/signal.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index 6b9c431da08f..5ad8566534e7 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -3704,7 +3704,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 /* |