public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH v1] sigpending: use direct syscall
@ 2019-02-07 15:51 Matthias Maennich
  2019-02-07 18:58 ` Steve Muckle
  2019-02-12 16:12 ` [LTP] [PATCH v2 0/2] sigpending / rt_sigpending Matthias Maennich
  0 siblings, 2 replies; 11+ messages in thread
From: Matthias Maennich @ 2019-02-07 15:51 UTC (permalink / raw)
  To: ltp

Expand coverage to the Android platform.

Signed-off-by: Matthias Maennich <maennich@google.com>
---
 testcases/kernel/syscalls/sigpending/sigpending02.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testcases/kernel/syscalls/sigpending/sigpending02.c b/testcases/kernel/syscalls/sigpending/sigpending02.c
index a38157ae1..ff8b59c8c 100644
--- a/testcases/kernel/syscalls/sigpending/sigpending02.c
+++ b/testcases/kernel/syscalls/sigpending/sigpending02.c
@@ -17,13 +17,14 @@
 #include <sys/types.h>
 
 #include "tst_test.h"
+#include "lapi/syscalls.h"
 
 static void run(void)
 {
 	/* set sigset to point to an invalid location */
 	sigset_t *sigset = (sigset_t *) - 1;
 
-	TEST(sigpending(sigset));
+	TEST(tst_syscall(__NR_rt_sigpending, sigset, NSIG / 8));
 
 	/* check return code */
 	if (TST_RET == -1) {
-- 
2.20.1.611.gfbb209baf1-goog


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-03-01 10:41 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-07 15:51 [LTP] [PATCH v1] sigpending: use direct syscall Matthias Maennich
2019-02-07 18:58 ` Steve Muckle
2019-02-11  8:28   ` Matthias =?unknown-8bit?q?M=C3=A4nnich?=
2019-02-12 16:12 ` [LTP] [PATCH v2 0/2] sigpending / rt_sigpending Matthias Maennich
2019-02-12 16:12   ` [LTP] [PATCH v2 1/2] sigpending: use direct syscall Matthias Maennich
2019-02-15 23:47     ` Steve Muckle
2019-02-12 16:12   ` [LTP] [PATCH v2 2/2] rt_sigpending: add rt_sigpending02 test case Matthias Maennich
2019-02-16  0:01     ` Steve Muckle
2019-02-19 14:28       ` Matthias =?unknown-8bit?q?M=C3=A4nnich?=
2019-02-19 17:57         ` Steve Muckle
2019-03-01 10:41           ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox