Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (17 sloc) 0.623 kb
static inline void arch_fixup_regs(struct user *user) {
user->regs.reg_ip -= 2;
user->regs.reg_ax = user->regs.orig_ax;
static inline int arch_set_syscall(struct ptrace_child *child,
unsigned long sysno) {
return ptrace_command(child, PTRACE_POKEUSER,
offsetof(struct user, regs.orig_ax),
static inline int arch_save_syscall(struct ptrace_child *child) {
child->saved_syscall = child->user.regs.orig_ax;
return 0;
static inline int arch_restore_syscall(struct ptrace_child *child) {
return 0;
Jump to Line
Something went wrong with that request. Please try again.