Commit d2ba9c32 authored by Xiongfeng Wang's avatar Xiongfeng Wang Committed by Chen Jiahao
Browse files

ilp32: avoid clearing upper 32 bits of syscall return value for ilp32

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7WGZU


CVE: NA

--------------------------------

The following commit clear upper 32 bits of x0 on syscall return for
compat application. But it is only suitable for A32 applications. It is
not correct for ilp32 applications.

Fixes: 15956689 ("arm64: compat: Ensure upper 32 bits of x0 are zero on syscall return")
Signed-off-by: default avatarXiongfeng Wang <wangxiongfeng2@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>

Conflicts:
	arch/arm64/include/asm/syscall.h
	arch/arm64/kernel/syscall.c

Signed-off-by: default avatarChen Jiahao <chenjiahao16@huawei.com>
parent e378faa7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment