On 19 Jan 2016 15:10, David Miller wrote: > From: Mike Frysinger > Date: Mon, 18 Jan 2016 06:32:30 -0500 > > > looks like the bug is in arch/sparc/kernel/syscalls.S:linux_syscall_trace32 > > (and linux_syscall_trace). they don't reload the args from the pt_regs > > struct after calling syscall_trace_enter. i put in a small hack: > > Mike, please give this patch a test, thanks! it fixes my reduced test case, and seems to fix my original testcase (a program that uses ptrace to monitor fs behavior in static progs). thanks ! Tested-by: Mike Frysinger -mike