Messages in this thread | | | From | Andy Lutomirski <> | Date | Thu, 26 Feb 2015 07:10:26 -0800 | Subject | Re: [PATCH] x86: fix a bug introduced by "allocate full pt_regs" commit |
| |
On Thu, Feb 26, 2015 at 6:08 AM, Denys Vlasenko <dvlasenk@redhat.com> wrote: > If syscall_trace_enter_phase1 returns 0, > code restores %rax from pt_regs->ax, but should restore it from > pt_regs->orig_ax. > > The bug crept in because LOAD_ARGS macro was very sublty different > from RESTORE_ARGS, it had only two callsites and only this one > was using that difference.
I folded this in to the original patch to avoid breaking bisection. I put the missing -ARGOFFSET in and then removed it again in the appropriate place later in the series.
--Andy
| |