* [PATCH 1/1] define stub32_checkpoint etc
@ 2010-01-20 19:43 Serge E. Hallyn
0 siblings, 0 replies; only message in thread
From: Serge E. Hallyn @ 2010-01-20 19:43 UTC (permalink / raw)
To: Oren Laadan; +Cc: Linux Containers
Don't get too excited this doesn't make checkpoint work on x86-64,
but at least hooks the syscall :) My hope is to actually get it
working by tomorrow.
Signed-off-by: Serge E. Hallyn <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
---
arch/x86/ia32/ia32entry.S | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/arch/x86/ia32/ia32entry.S b/arch/x86/ia32/ia32entry.S
index 581b056..ac7eabd 100644
--- a/arch/x86/ia32/ia32entry.S
+++ b/arch/x86/ia32/ia32entry.S
@@ -477,6 +477,14 @@ quiet_ni_syscall:
PTREGSCALL stub32_clone, sys32_clone, %rdx
PTREGSCALL stub32_vfork, sys_vfork, %rdi
PTREGSCALL stub32_iopl, sys_iopl, %rsi
+ PTREGSCALL stub32_eclone, sys_eclone, %rdx
+#ifdef CONFIG_CHECKPOINT
+ PTREGSCALL stub32_checkpoint, sys_checkpoint, %rdx
+ PTREGSCALL stub32_restart, sys_restart, %rdx
+#else
+ PTREGSCALL stub32_checkpoint, sys_ni_syscall, %rdx
+ PTREGSCALL stub32_restart, sys_ni_syscall, %rdx
+#endif
ENTRY(ia32_ptregs_common)
popq %r11
@@ -841,4 +849,7 @@ ia32_sys_call_table:
.quad compat_sys_pwritev
.quad compat_sys_rt_tgsigqueueinfo /* 335 */
.quad sys_perf_event_open
+ .quad stub32_eclone
+ .quad stub32_checkpoint
+ .quad stub32_restart
ia32_syscall_end:
--
1.6.0.6
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-20 19:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-20 19:43 [PATCH 1/1] define stub32_checkpoint etc Serge E. Hallyn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox