mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
All the other ioctl paths return EFAULT in case the
copy_from_user/copy_to_user call fails, make oneway spam detection
follow the same paradigm.
Fixes: a7dc1e6f99 ("binder: tell userspace to dump current backtrace when detected oneway spamming")
Acked-by: Todd Kjos <[email protected]>
Acked-by: Christian Brauner <[email protected]>
Signed-off-by: Luca Stefani <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>