[Devel] [user-cr PATCH 1/1] Fix x86-64 syscall numbers

Serge E. Hallyn serge.hallyn at canonical.com
Mon Feb 14 08:44:38 PST 2011


Signed-off-by: Serge Hallyn <serge.hallyn at canonical.com>
---
 clone_x86_64.c             |    2 +-
 include/linux/checkpoint.h |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/clone_x86_64.c b/clone_x86_64.c
index 5a22093..6750786 100644
--- a/clone_x86_64.c
+++ b/clone_x86_64.c
@@ -26,7 +26,7 @@
 #include "eclone.h"
 
 #ifndef __NR_eclone
-#define __NR_eclone 300
+#define __NR_eclone 303
 #endif
 
 int eclone(int (*fn)(void *), void *fn_arg, int clone_flags_low,
diff --git a/include/linux/checkpoint.h b/include/linux/checkpoint.h
index b6ac12d..3688ae1 100644
--- a/include/linux/checkpoint.h
+++ b/include/linux/checkpoint.h
@@ -54,11 +54,11 @@
 #elif __x86_64__
 
 #	ifndef __NR_checkpoint
-#		define __NR_checkpoint 301
+#		define __NR_checkpoint 304
 #	endif
 
 #	ifndef __NR_restart
-#		define __NR_restart 302
+#		define __NR_restart 305
 #	endif
 
 #else
-- 
1.7.2.3

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list