提交 cf4a0ce4 编写于 作者: A Al Viro

score: don't open-code force_sigsegv()

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 6eef0190
......@@ -236,9 +236,7 @@ static int setup_rt_frame(struct k_sigaction *ka, struct pt_regs *regs,
return 0;
give_sigsegv:
if (signr == SIGSEGV)
ka->sa.sa_handler = SIG_DFL;
force_sig(SIGSEGV, current);
force_sigsegv(signr, current);
return -EFAULT;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册