don't have rt_sigprocmask save to the same sigact twice, remove sigact_old
This commit is contained in:
parent
fedd00f0d1
commit
134dda968d
1 changed files with 1 additions and 2 deletions
|
|
@ -32,8 +32,7 @@ void msh_linux_setup_signals() {
|
||||||
sigact.sa_restorer = signal_restorer;
|
sigact.sa_restorer = signal_restorer;
|
||||||
sigact.sa_flags = SA_RESTORER | SA_RESTART;
|
sigact.sa_flags = SA_RESTORER | SA_RESTART;
|
||||||
|
|
||||||
SYSCALL(rt_sigprocmask, SIG_UNBLOCK, &sigact.sa_mask, &sigact.sa_mask,
|
SYSCALL(rt_sigprocmask, SIG_UNBLOCK, &sigact.sa_mask, 0, sizeof(sigset_t));
|
||||||
sizeof(sigset_t));
|
|
||||||
|
|
||||||
INIT_SIGNAL(SIGINT);
|
INIT_SIGNAL(SIGINT);
|
||||||
INIT_SIGNAL(SIGILL);
|
INIT_SIGNAL(SIGILL);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue