OpenVZ Forum


Home » Mailing lists » Devel » [user-cr PATCH 1/1] Fix x86-64 syscall numbers
[user-cr PATCH 1/1] Fix x86-64 syscall numbers [message #41690] Mon, 14 February 2011 16:44
Serge E. Hallyn is currently offline  Serge E. Hallyn
Messages: 26
Registered: February 2011
Junior Member
From: *parallels.com
Signed-off-by: Serge Hallyn <serge.hallyn@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@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containe rs
Previous Topic: [PATCH, v6 1/3] cgroups: export cgroup_iter_{start, next, end}
Next Topic: [linux-cr PATCH 1/1] update x86-64 eclone and cr syscall numbers
Goto Forum:
  


Current Time: Mon Nov 18 03:59:04 GMT 2019