[PATCH v2 0/4] xtensa: fix {get,put}_user() for 64bit values
From: Max Filippov
Date: Fri Oct 11 2019 - 20:37:30 EST
Hello,
this series fixes return value, out-of-bound stack access and value
truncation in xtensa implementation of {get,put}_user() for 64bit
values. It also cleans up naming of assembly parameters in
__{get,put}_user_asm and __check_align_{1,2,4}.
Changes v1->v2:
- initialize result when access_ok check fails in __get_user_check
- initialize result in __get_user_asm for unaligned access
Al Viro (1):
xtensa: fix {get,put}_user() for 64bit values
Max Filippov (3):
xtensa: clean up assembly arguments in uaccess macros
xtensa: fix type conversion in __get_user_[no]check
xtensa: initialize result in __get_user_asm for unaligned access
arch/xtensa/include/asm/uaccess.h | 105 +++++++++++++++++-------------
1 file changed, 60 insertions(+), 45 deletions(-)
--
2.20.1