Skip to contentSkip to conversation

Fix x86-64 syscall numbers

PATCH In review Serge E. Hallyn 2 participants 2 messages Feb 14, 2011 – Mar 26, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix x86-64 syscall numbers

---
 clone_x86_64.c             |    2 +-
 include/linux/checkpoint.h |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
clone_x86_64.c +1 -1
index 5a22093..6750786 100644
@@ -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,
include/linux/checkpoint.h +2 -2
index b6ac12d..3688ae1 100644
@@ -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
Signature · 1 line
1.7.2.3
#1 lore raw

Hmm... this is because:

1) Need to s/clone_with_pids/eclone/ in scripts/extract-headers.sh, and
2) Properly run scripts/extracr-headers.sh before pushing user-cr.

Will do for v23-rc2.

Oren.

Quoted 37 lines · Serge E. Hallyn
---
 clone_x86_64.c             |    2 +-
 include/linux/checkpoint.h |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
clone_x86_64.c +1 -1
index 5a22093..6750786 100644
@@ -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,
include/linux/checkpoint.h +2 -2
index b6ac12d..3688ae1 100644
@@ -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