From 5877e70e7e4b4b05be89c34dc5f53e8ff5009ef0 Mon Sep 17 00:00:00 2001 From: Dmitry Safonov Date: Tue, 28 Jun 2016 22:24:08 +0300 Subject: [PATCH] x86: change k_rtsigset_t sig type As it has equall size for compat/native tasks. Fixes for compatible tasks: pie: Daemon waits for command (00.009247) Fetched ack: 7 7 0 pie: __fetched msg: 9 0 0 pie: Error (pie/parasite.c:106): sys_sigaction failed (-22) pie: __sent ack msg: 9 9 -22 pie: Error (pie/parasite.c:725): Close the control socket for writing Cc: Cyrill Gorcunov Signed-off-by: Dmitry Safonov Signed-off-by: Pavel Emelyanov Signed-off-by: Andrei Vagin --- criu/arch/x86/include/asm/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/criu/arch/x86/include/asm/types.h b/criu/arch/x86/include/asm/types.h index 743dc69fd..623dd84c6 100644 --- a/criu/arch/x86/include/asm/types.h +++ b/criu/arch/x86/include/asm/types.h @@ -38,7 +38,7 @@ typedef rt_restorefn_t *rt_sigrestore_t; #define _KNSIG_WORDS (_KNSIG / _NSIG_BPW) typedef struct { - unsigned long sig[_KNSIG_WORDS]; + u64 sig[_KNSIG_WORDS]; } k_rtsigset_t; #define SA_RESTORER 0x04000000