signal: Remove SA_SIGINFO.

* lib/linux/signal.c (signal): Remove SA_SIGINFO.
This commit is contained in:
Danny Milosavljevic 2019-07-04 03:43:32 +02:00 committed by Jan Nieuwenhuizen
parent 3e6306a5ce
commit 4a183fa1cf
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -49,7 +49,7 @@ signal (int signum, sighandler_t action)
itembitcount = 8 * sizeof(setup_action.sa_mask.items[0]);
setup_action.sa_mask.items[bitindex / itembitcount] = 1UL << (bitindex % itembitcount);
old.sa_handler = SIG_DFL;
setup_action.sa_flags = SA_RESTART | SA_SIGINFO;
setup_action.sa_flags = SA_RESTART;
int r = _sys_call4 (SYS_rt_sigaction, signum, &setup_action, &old, sizeof (sigset_t));
if (r)
return 0;