lkml.org 
[lkml]   [2019]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH untested] x86_32: fix extable entry for iret
On Wed, Nov 6, 2019 at 8:41 PM Lai Jiangshan <laijs@linux.alibaba.com> wrote:
>
> 3c88c692c287(x86/stackframe/32: Provide consistent pt_regs)
> added code after label .Lirq_return and before 'iret', an instruction
> which should be expected to be found in the extable when there is
> an exception on it. But the extable entry stores the address of
> .Lirq_return not the new address of 'iret', which disables
> the corresponding fixup. This patch fixes the extable entry
> by using a new label.

Egads!

What happens if you run tools/testing/selftests/x86/sigreturn_32 with
and without this patch?

--Andy

\
 
 \ /
  Last update: 2019-11-07 05:54    [W:0.031 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site