Files
android_kernel_xiaomi_sm8450/arch/arm64/kernel
Dave Martin 16d38acb12 arm64: ptrace: Remove redundant overrun check from compat_vfp_set()
compat_vfp_set() checks for userspace trying to write an excessive
amount of data to the regset.  However this check is conspicuous
for its absence from every other _set() in the arm64 ptrace
implementation.  In fact, the core ptrace_regset() already clamps
userspace's iov_len to the regset size before the individual regset
.{get,set}() methods get called.

This patch removes the redundant check.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2017-06-29 17:44:08 +01:00
..
2017-05-30 11:07:41 +01:00
2012-09-17 13:42:21 +01:00
2017-03-28 18:23:24 -04:00
2016-06-27 16:31:25 +01:00
2016-04-20 12:22:42 +01:00