[CRIU] [PATCH] check: set si_signo in a test siginfo

Andrei Vagin avagin at gmail.com
Fri Oct 5 00:18:09 MSK 2018


Eric added a check which fails fail sigqueueinfo if si_signo != sig.

Signed-off-by: Andrei Vagin <avagin at gmail.com>
---
 criu/cr-check.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/criu/cr-check.c b/criu/cr-check.c
index 4bbe9e098..4bd51a6b0 100644
--- a/criu/cr-check.c
+++ b/criu/cr-check.c
@@ -516,7 +516,7 @@ static int check_ipc(void)
 
 static int check_sigqueuinfo()
 {
-	siginfo_t info = { .si_code = 1 };
+	siginfo_t info = { .si_code = 1, .si_signo = SIGUSR1};
 
 	signal(SIGUSR1, SIG_IGN);
 
-- 
2.14.4



More information about the CRIU mailing list