Package: glibc / 2.24-11+deb9u4

arm/local-sigaction.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
 sysdeps/unix/sysv/linux/arm/sigaction.c |    9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

--- a/sysdeps/unix/sysv/linux/arm/sigaction.c
+++ b/sysdeps/unix/sysv/linux/arm/sigaction.c
@@ -70,13 +70,8 @@
       memcpy (&kact.sa_mask, &act->sa_mask, sizeof (sigset_t));
       kact.sa_flags = act->sa_flags;
 #ifdef HAVE_SA_RESTORER
-      if (kact.sa_flags & SA_RESTORER)
-	kact.sa_restorer = act->sa_restorer;
-      else
-	{
-	  kact.sa_restorer = choose_restorer (kact.sa_flags);
-	  kact.sa_flags |= SA_RESTORER;
-	}
+      kact.sa_restorer = choose_restorer (kact.sa_flags);
+      kact.sa_flags |= SA_RESTORER;
 #endif
     }