um: don't bother blocking SIGARLM and SIGUSR1

We used to generate those, but we hadn't done that for a long
time.  No need to bother blocking them for signal handlers.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
Al Viro
2011-08-18 20:04:19 +01:00
committed by Richard Weinberger
parent 9b25fcbdc6
commit d5c7e8b4ec
3 changed files with 8 additions and 9 deletions

View File

@@ -112,7 +112,7 @@ void alarm_handler(int sig, struct sigcontext *sc)
void timer_init(void)
{
set_handler(SIGVTALRM, (__sighandler_t) alarm_handler,
SA_ONSTACK | SA_RESTART, SIGUSR1, SIGIO, SIGWINCH, -1);
SA_ONSTACK | SA_RESTART, SIGIO, SIGWINCH, -1);
}
void set_sigstack(void *sig_stack, int size)