1 #include <linux/ptrace.h>
2 #include <linux/sched.h>
3 #include <linux/export.h>
4 #include <asm/syscall.h>
7 unsigned long args[6],
unsigned int maxargs,
8 unsigned long *
sp,
unsigned long *
pc)
18 if (*callno != -1L && maxargs > 0)
51 unsigned long args[6],
unsigned int maxargs,
52 unsigned long *sp,
unsigned long *pc)
61 return collect_syscall(target, callno, args, maxargs, sp, pc);
63 state = target->
state;
67 ncsw = wait_task_inactive(target, state);
69 unlikely(collect_syscall(target, callno, args, maxargs, sp, pc)) ||
70 unlikely(wait_task_inactive(target, state) != ncsw))