[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191014212513.17661-1-jcmvbkbc@gmail.com>
Date: Mon, 14 Oct 2019 14:25:10 -0700
From: Max Filippov <jcmvbkbc@...il.com>
To: linux-xtensa@...ux-xtensa.org, Al Viro <viro@...iv.linux.org.uk>
Cc: Chris Zankel <chris@...kel.net>, linux-kernel@...r.kernel.org,
Max Filippov <jcmvbkbc@...il.com>
Subject: [PATCH v3 0/3] xtensa: fix {get,put}_user() for 64bit values
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 v2->v3:
- fix assembly argument constraint for error code
- rearrange result zero-initialization for error paths in __get_user_asm
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 (2):
xtensa: clean up assembly arguments in uaccess macros
xtensa: fix type conversion in __get_user_[no]check
arch/xtensa/include/asm/uaccess.h | 94 +++++++++++++++++--------------
1 file changed, 53 insertions(+), 41 deletions(-)
--
2.20.1
Powered by blists - more mailing lists