* [LTP] [PATCH] Skip additional reserved signals in Android.
@ 2018-08-28 18:21 Kenneth Magic
2018-08-28 21:07 ` Petr Vorel
0 siblings, 1 reply; 2+ messages in thread
From: Kenneth Magic @ 2018-08-28 18:21 UTC (permalink / raw)
To: ltp
In Android's bionic libc, two additional signals are reserved
and need to be skipped in the test.
Signed-off-by: Kenneth Magic <kmagic@google.com>
---
testcases/kernel/syscalls/sighold/sighold02.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/testcases/kernel/syscalls/sighold/sighold02.c
b/testcases/kernel/syscalls/sighold/sighold02.c
index 8df5fa7db..fdd0e736d 100644
--- a/testcases/kernel/syscalls/sighold/sighold02.c
+++ b/testcases/kernel/syscalls/sighold/sighold02.c
@@ -59,6 +59,12 @@
#define SIGCANCEL 32
#define SIGTIMER 33
+/* Reserved in Android's bionic libc */
+#ifdef __ANDROID__
+# define SIGLIBCORE 34
+# define SIGDEBUGGERD 35
+#endif
+
/* ensure NUMSIGS is defined */
#ifndef NUMSIGS
# define NUMSIGS NSIG
@@ -84,6 +90,10 @@ static int skip_sig(int sig)
case SIGSTOP:
case SIGCANCEL:
case SIGTIMER:
+#ifdef __ANDROID__
+ case SIGLIBCORE:
+ case SIGDEBUGGERD:
+#endif
return 1;
default:
return 0;
--
2.19.0.rc0.228.g281dcd1b4d0-goog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20180828/8ceb5293/attachment.html>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [LTP] [PATCH] Skip additional reserved signals in Android.
2018-08-28 18:21 [LTP] [PATCH] Skip additional reserved signals in Android Kenneth Magic
@ 2018-08-28 21:07 ` Petr Vorel
0 siblings, 0 replies; 2+ messages in thread
From: Petr Vorel @ 2018-08-28 21:07 UTC (permalink / raw)
To: ltp
Hi Kenneth,
> In Android's bionic libc, two additional signals are reserved
> and need to be skipped in the test.
> Signed-off-by: Kenneth Magic <kmagic@google.com>
Merged, thanks!
Kind regards,
Petr
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-08-28 21:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-28 18:21 [LTP] [PATCH] Skip additional reserved signals in Android Kenneth Magic
2018-08-28 21:07 ` Petr Vorel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox