Skip to content
Snippets Groups Projects
Commit 01714eda authored by Song Gao's avatar Song Gao
Browse files

linux-user/loongarch64: setup_sigframe() set 'end' context size 0

See:
  https://github.com/torvalds/linux/blob/master/arch/loongarch/kernel/signal.c



The kernel setup_sigcontext() set end context size 0.

Signed-off-by: default avatarSong Gao <gaosong@loongson.cn>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Message-Id: <20231101030816.2353416-4-gaosong@loongson.cn>
parent 420756c2
No related branches found
No related tags found
No related merge requests found
......@@ -154,7 +154,7 @@ static void setup_sigframe(CPULoongArchState *env,
*/
info = extctx->end.haddr;
__put_user(0, &info->magic);
__put_user(extctx->end.size, &info->size);
__put_user(0, &info->size);
}
static bool parse_extcontext(struct extctx_layout *extctx, abi_ptr frame)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment