Re: ptrace_syscall_32 is failing

2020-09-04 Thread Thomas Gleixner
Andy, On Wed, Sep 02 2020 at 09:49, Andy Lutomirski wrote: > On Wed, Sep 2, 2020 at 1:29 AM Thomas Gleixner wrote: >> >> But you might tell me where exactly you want to inject the SIGTRAP in >> the syscall exit code flow. > > It would be a bit complicated. Definitely after any signals from the >

Re: ptrace_syscall_32 is failing

2020-09-02 Thread Andy Lutomirski
On Wed, Sep 2, 2020 at 1:29 AM Thomas Gleixner wrote: > > On Tue, Sep 01 2020 at 17:09, Andy Lutomirski wrote: > > On Tue, Sep 1, 2020 at 4:50 PM Thomas Gleixner wrote: > >> > I think that they almost work for x86, but not quite as > >> > indicated by this bug. Even if we imagine we can somehow

Re: ptrace_syscall_32 is failing

2020-09-02 Thread Thomas Gleixner
On Tue, Sep 01 2020 at 17:09, Andy Lutomirski wrote: > On Tue, Sep 1, 2020 at 4:50 PM Thomas Gleixner wrote: >> > I think that they almost work for x86, but not quite as >> > indicated by this bug. Even if we imagine we can somehow hack around >> > this bug, I imagine we're going to find other pr

Re: ptrace_syscall_32 is failing

2020-09-01 Thread Andy Lutomirski
On Tue, Sep 1, 2020 at 4:50 PM Thomas Gleixner wrote: > > On Sun, Aug 30 2020 at 08:52, Andy Lutomirski wrote: > >> > [RUN]SYSCALL > >> > [FAIL]Initial args are wrong (nr=29, args=0 0 0 0 0 4289172732) > >> > [RUN]SYSCALL > >> > [OK]Args after SIGUSR1 are correct (ax = -514) > >> >

Re: ptrace_syscall_32 is failing

2020-09-01 Thread Thomas Gleixner
On Sun, Aug 30 2020 at 08:52, Andy Lutomirski wrote: >> > [RUN]SYSCALL >> > [FAIL]Initial args are wrong (nr=29, args=0 0 0 0 0 4289172732) >> > [RUN]SYSCALL >> > [OK]Args after SIGUSR1 are correct (ax = -514) >> > [OK]Child got SIGUSR1 >> > [RUN]Step again >> > [OK]paus

Re: ptrace_syscall_32 is failing

2020-08-30 Thread Andy Lutomirski
On Sat, Aug 29, 2020 at 9:40 PM Brian Gerst wrote: > > On Sat, Aug 29, 2020 at 12:52 PM Andy Lutomirski wrote: > > > > Seems to be a recent regression, maybe related to entry/exit work changes. > > > > # ./tools/testing/selftests/x86/ptrace_syscall_32 > > [RUN]Check int80 return regs > > [OK]