[klibc] ia64: Fix definition of struct sigaction
authorBen Hutchings <ben@decadent.org.uk>
Fri, 28 Aug 2020 16:36:34 +0000 (17:36 +0100)
committerBen Hutchings <benh@debian.org>
Fri, 30 Apr 2021 01:05:23 +0000 (02:05 +0100)
Origin: https://git.kernel.org/pub/scm/libs/klibc/klibc.git/commit/?id=811bff9cec254e3396493f4f2447862d252870ac

ia64 only provides the RT signal API, in which the type of sa_flags is
unsigned long and sa_mask is the last member of the struct.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Name 0001-klibc-ia64-Fix-definition-of-struct-sigaction.patch

usr/include/arch/ia64/klibc/archsignal.h

index fbc961b4c5b4dba94934016bbfca319f7cbad49c..7cfbf3086f8f5c466a5bbae60fbac111ff7cfaad 100644 (file)
@@ -22,8 +22,8 @@ struct sigaction {
                __sighandler_t _sa_handler;
                void (*_sa_sigaction) (int, struct siginfo *, void *);
        } _u;
-       sigset_t sa_mask;
-       int sa_flags;
+       unsigned long   sa_flags;
+       sigset_t        sa_mask;
 };
 
 #define sa_handler      _u._sa_handler