[CRIU] [PATCHv3 15/30] x86: change k_rtsigset_t sig type
Dmitry Safonov
dsafonov at virtuozzo.com
Tue Jun 28 12:24:08 PDT 2016
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 <gorcunov at openvz.org>
Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
---
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 ec7e2a3c8aaf..7b828caf55ab 100644
--- a/criu/arch/x86/include/asm/types.h
+++ b/criu/arch/x86/include/asm/types.h
@@ -29,7 +29,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;
static inline void ksigfillset(k_rtsigset_t *set)
--
2.9.0
More information about the CRIU
mailing list