Re: [PATCH] x86/iopl: Fake iopl(3) CLI/STI usage
From: Linus Torvalds
Date: Fri Sep 17 2021 - 18:25:12 EST
On Fri, Sep 17, 2021 at 3:23 PM Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> I think the proper thing to do is perhaps something like
The alternative is to just ignore cs_abse entirely, and just use
"regs->ip", which makes this all even easier.
If somebody uses a code segment _and_ cli/sti, maybe they should just
get the SIGSEGV?
Linus