aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorLuca Stefani <[email protected]>2021-05-06 19:37:25 +0000
committerGreg Kroah-Hartman <[email protected]>2021-05-13 18:35:26 +0000
commitced081a436d21a7d34d4d42acb85058f9cf423f2 (patch)
tree9e8c30980790ac47fff4338d7a3a80a0e531fd8e /lib/dynamic_debug.c
parentcdrom: gdrom: initialize global variable at init time (diff)
downloadkernel-ced081a436d21a7d34d4d42acb85058f9cf423f2.tar.gz
kernel-ced081a436d21a7d34d4d42acb85058f9cf423f2.zip
binder: Return EFAULT if we fail BINDER_ENABLE_ONEWAY_SPAM_DETECTION
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: a7dc1e6f99df ("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]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions