define stub32_checkpoint etc
PATCH 1/1 define stub32_checkpoint etc
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/[email protected]>
--- arch/x86/ia32/ia32entry.S | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-)
arch/x86/ia32/ia32entry.S +11 -0
@@ -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:
Signature · 1 line
1.6.0.6