[PATCHv3,15/30] x86: change k_rtsigset_t sig type

Submitted by Dmitry Safonov on June 28, 2016, 7:24 p.m.

Details

Message ID 20160628192423.14943-16-dsafonov@virtuozzo.com
State Rejected
Series "x86 Compatible C/R, part 2"
Headers show

Commit Message

Dmitry Safonov June 28, 2016, 7:24 p.m.
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@openvz.org>
Signed-off-by: Dmitry Safonov <dsafonov@virtuozzo.com>
---
 criu/arch/x86/include/asm/types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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)