summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/ltp/ltp/0028-rt_sigaction.h-Use-sighandler_t-instead-of-__sighand.patch31
1 files changed, 17 insertions, 14 deletions
diff --git a/meta/recipes-extended/ltp/ltp/0028-rt_sigaction.h-Use-sighandler_t-instead-of-__sighand.patch b/meta/recipes-extended/ltp/ltp/0028-rt_sigaction.h-Use-sighandler_t-instead-of-__sighand.patch
index fc82ff9239..b26aa133e9 100644
--- a/meta/recipes-extended/ltp/ltp/0028-rt_sigaction.h-Use-sighandler_t-instead-of-__sighand.patch
+++ b/meta/recipes-extended/ltp/ltp/0028-rt_sigaction.h-Use-sighandler_t-instead-of-__sighand.patch
@@ -13,23 +13,29 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 testcases/kernel/syscalls/rt_sigsuspend/Makefile | 3 +++ 13 testcases/kernel/syscalls/rt_sigsuspend/Makefile | 3 +++
14 2 files changed, 4 insertions(+), 1 deletion(-) 14 2 files changed, 4 insertions(+), 1 deletion(-)
15 15
16diff --git a/include/lapi/rt_sigaction.h b/include/lapi/rt_sigaction.h 16Index: git/include/lapi/rt_sigaction.h
17index 3a5a763..870918c 100644 17===================================================================
18--- a/include/lapi/rt_sigaction.h 18--- git.orig/include/lapi/rt_sigaction.h
19+++ b/include/lapi/rt_sigaction.h 19+++ git/include/lapi/rt_sigaction.h
20@@ -34,7 +34,7 @@ 20@@ -36,12 +36,12 @@
21 #define INVAL_SA_PTR ((void *)-1) 21 #if defined(__mips__)
22 22 struct kernel_sigaction {
23 unsigned int sa_flags;
24- __sighandler_t k_sa_handler;
25+ sighandler_t k_sa_handler;
26 sigset_t sa_mask;
27 };
28 #else
23 struct kernel_sigaction { 29 struct kernel_sigaction {
24- __sighandler_t k_sa_handler; 30- __sighandler_t k_sa_handler;
25+ sighandler_t k_sa_handler; 31+ sighandler_t k_sa_handler;
26 unsigned long sa_flags; 32 unsigned long sa_flags;
27 void (*sa_restorer) (void); 33 void (*sa_restorer) (void);
28 sigset_t sa_mask; 34 sigset_t sa_mask;
29diff --git a/testcases/kernel/syscalls/rt_sigsuspend/Makefile b/testcases/kernel/syscalls/rt_sigsuspend/Makefile 35Index: git/testcases/kernel/syscalls/rt_sigsuspend/Makefile
30index 37bc3a9..2ca7f7c 100644 36===================================================================
31--- a/testcases/kernel/syscalls/rt_sigsuspend/Makefile 37--- git.orig/testcases/kernel/syscalls/rt_sigsuspend/Makefile
32+++ b/testcases/kernel/syscalls/rt_sigsuspend/Makefile 38+++ git/testcases/kernel/syscalls/rt_sigsuspend/Makefile
33@@ -19,4 +19,7 @@ 39@@ -19,4 +19,7 @@
34 top_srcdir ?= ../../../.. 40 top_srcdir ?= ../../../..
35 41
@@ -38,6 +44,3 @@ index 37bc3a9..2ca7f7c 100644
38+CFLAGS += -D_GNU_SOURCE 44+CFLAGS += -D_GNU_SOURCE
39+ 45+
40 include $(top_srcdir)/include/mk/generic_leaf_target.mk 46 include $(top_srcdir)/include/mk/generic_leaf_target.mk
41--
422.7.0
43