signal: Remove SA_SIGINFO.
authorDanny Milosavljevic <dannym@scratchpost.org>
Thu, 4 Jul 2019 01:43:32 +0000 (03:43 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 9 Sep 2019 14:04:15 +0000 (16:04 +0200)
* lib/linux/signal.c (signal): Remove SA_SIGINFO.

lib/linux/signal.c

index 7761173f475a109ce15a54973d10abf24e050d6c..676a0a4704d0b83444b2f2d9423fc560401eb54b 100644 (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;