
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/release-management/issues/IC9Q31 -------------------------------- In xcall_init_task(), it should copy the original xcall enable bitmap to the new process. Fixes: f22baea0113c ("arm64: Reserve a kabi in task_struct exclusively for xcall") Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com> --- arch/arm64/kernel/xcall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/xcall.c b/arch/arm64/kernel/xcall.c index fd62b8dd3020..f778671c21cf 100644 --- a/arch/arm64/kernel/xcall.c +++ b/arch/arm64/kernel/xcall.c @@ -19,7 +19,7 @@ int xcall_init_task(struct task_struct *p, struct task_struct *orig) return -ENOMEM; if (orig->xinfo) { - bitmap_copy(TASK_XINFO(p)->xcall_enable, TASK_XINFO(p)->xcall_enable, + bitmap_copy(TASK_XINFO(p)->xcall_enable, TASK_XINFO(orig)->xcall_enable, __NR_syscalls); #ifdef CONFIG_XCALL_PREFETCH TASK_XINFO(p)->prefetch = TASK_XINFO(orig)->prefetch; -- 2.34.1