[CRIU] [PATCH 1/4] criu/ia32: don't redefine __NR32_rt_sigaction

Dmitry Safonov dsafonov at virtuozzo.com
Wed May 3 12:40:12 PDT 2017


Cleanup: use nr, provided by compel.

Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
---
 criu/arch/x86/sigaction_compat.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/criu/arch/x86/sigaction_compat.c b/criu/arch/x86/sigaction_compat.c
index 52f22a4f9d76..5965ef79fabe 100644
--- a/criu/arch/x86/sigaction_compat.c
+++ b/criu/arch/x86/sigaction_compat.c
@@ -2,14 +2,10 @@
 #include "asm/restorer.h"
 #include <compel/asm/fpu.h>
 #include "asm/compat.h"
+#include <compel/plugins/std/syscall-codes.h>
 
 #ifdef CR_NOGLIBC
-# include <compel/plugins/std/syscall.h>
 # include <compel/plugins/std/string.h>
-#else
-# ifndef  __NR32_rt_sigaction
-#  define  __NR32_rt_sigaction 174
-# endif
 #endif
 #include "cpu.h"
 
-- 
2.12.2



More information about the CRIU mailing list