signal: Remove SA_SIGINFO.
* lib/linux/signal.c (signal): Remove SA_SIGINFO.
This commit is contained in:
parent
3e6306a5ce
commit
4a183fa1cf
|
@ -49,7 +49,7 @@ signal (int signum, sighandler_t action)
|
||||||
itembitcount = 8 * sizeof(setup_action.sa_mask.items[0]);
|
itembitcount = 8 * sizeof(setup_action.sa_mask.items[0]);
|
||||||
setup_action.sa_mask.items[bitindex / itembitcount] = 1UL << (bitindex % itembitcount);
|
setup_action.sa_mask.items[bitindex / itembitcount] = 1UL << (bitindex % itembitcount);
|
||||||
old.sa_handler = SIG_DFL;
|
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));
|
int r = _sys_call4 (SYS_rt_sigaction, signum, &setup_action, &old, sizeof (sigset_t));
|
||||||
if (r)
|
if (r)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue