Fix x86-64 syscall numbers
PATCH 1/1 Fix x86-64 syscall numbers
Signed-off-by Serge Hallyn <[email protected]>
--- clone_x86_64.c | 2 +- include/linux/checkpoint.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
clone_x86_64.c +1 -1
@@ -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
@@ -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
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
Signed-off-by Serge Hallyn <[email protected]>--- clone_x86_64.c | 2 +- include/linux/checkpoint.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)clone_x86_64.c +1
-1@@ -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@@ -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