diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2022-05-01 21:26:06 +0200 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2022-06-01 12:03:17 +0200 |
commit | 454ede3f1424c36bc124f8d7ed4b3ea654654be1 (patch) | |
tree | 6a362eef8004422f3df1ff17bbe3ec3387b6ef86 /arch/um/configs | |
parent | 79a74dac447be957178e8596706b1db3d5c714f4 (diff) | |
download | linux-454ede3f1424c36bc124f8d7ed4b3ea654654be1.tar.gz linux-454ede3f1424c36bc124f8d7ed4b3ea654654be1.tar.bz2 linux-454ede3f1424c36bc124f8d7ed4b3ea654654be1.zip |
s390/uaccess: use exception handler to zero result on get_user() failure
Historically the uaccess code pre-initializes the result of get_user()
(and now also __get_kernel_nofault()) to zero and uses the result as
input parameter for inline assemblies. This is different to what most,
if not all, other architectures are doing, which set the result to
zero within the exception handler in case of a fault.
Use the new extable mechanism and handle zeroing of the result within
the exception handler in case of a fault.
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/um/configs')
0 files changed, 0 insertions, 0 deletions