Re: Compat syscall instrumentation and return from execve issue

From: Steven Rostedt
Date: Mon Nov 09 2015 - 21:31:16 EST


On Mon, 9 Nov 2015 17:51:25 -0800
Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:


> do_syscall_32_irqs_on would call syscall_return_slowpath(regs,
> AUDIT_ARCH_I386). do_syscall_64 (which doesn't exist yet) would call
> syscall_return_slowpath(regs, AUDIT_ARCH_X86_64).
>

OK, so you are saying that a execve that switches the current state
into ia32 will return from the do_syscall_64 regardless? Then we would
have to add tracepoints that would be for both ia32 and x86_64. But
that would solve the current issue at hand.

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/