[user-cr PATCH 1/1] Fix x86-64 syscall numbers
Oren Laadan
orenl at cs.columbia.edu
Fri Mar 25 19:08:03 PDT 2011
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.
On 02/14/2011 11:44 AM, Serge E. Hallyn wrote:
> 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
More information about the Containers
mailing list