Thread (4 messages) 4 messages, 2 authors, 2021-08-11

[LTP] [PATCH 1/2] epoll_pwait: Add invalid sigmask test for epoll_pwait04

From: Cyril Hrubis <chrubis@suse.cz>
Date: 2021-08-11 13:47:00

Hi!
+static void run(void)
+{
+	TST_EXP_FAIL(do_epoll_pwait(efd, &e, 1, -1, tst_get_bad_addr(NULL)),
+		     EFAULT, "with an invalid sigmask pointer");
The tst_get_bad_addr() allocates memory so I've moved it to the test
setup() so that the test does not get out of memory with large enough -i
option.


Patchset pushed, good work, thanks.

-- 
Cyril Hrubis
chrubis@suse.cz
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help