[PATCH] Generic sys_rt_sigsuspend()
The TIF_RESTORE_SIGMASK flag allows us to have a generic implementation of sys_rt_sigsuspend() instead of duplicating it for each architecture. This provides such an implementation and makes arch/powerpc use it. It also tidies up the ppc32 sys_sigsuspend() to use TIF_RESTORE_SIGMASK. Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
a60fc5190a
commit
150256d8aa
6 changed files with 62 additions and 87 deletions
|
@ -809,6 +809,7 @@ struct task_struct {
|
|||
struct sighand_struct *sighand;
|
||||
|
||||
sigset_t blocked, real_blocked;
|
||||
sigset_t saved_sigmask; /* To be restored with TIF_RESTORE_SIGMASK */
|
||||
struct sigpending pending;
|
||||
|
||||
unsigned long sas_ss_sp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue