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

avr32: need to clear RESTORE_SIGMASK on successful signal delivery

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 ae28b38c
...@@ -247,6 +247,7 @@ handle_signal(unsigned long sig, struct k_sigaction *ka, siginfo_t *info, ...@@ -247,6 +247,7 @@ handle_signal(unsigned long sig, struct k_sigaction *ka, siginfo_t *info,
* Block the signal if we were successful. * Block the signal if we were successful.
*/ */
block_sigmask(ka, sig); block_sigmask(ka, sig);
clear_thread_flag(TIF_RESTORE_SIGMASK);
} }
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册