Re: [RFC PATCH 3/3] Prevent user from writing to IBT bitmap.

2019-07-01 Thread Yu-cheng Yu
On Sat, 2019-06-29 at 16:44 -0700, Andy Lutomirski wrote: > On Fri, Jun 28, 2019 at 12:50 PM Yu-cheng Yu wrote: > > > > The IBT bitmap is visiable from user-mode, but not writable. > > > > Signed-off-by: Yu-cheng Yu > > > > --- > > arch/x86/mm/fault.c | 7 +++ > > 1 file changed, 7 insert

Re: [RFC PATCH 3/3] Prevent user from writing to IBT bitmap.

2019-06-29 Thread Andy Lutomirski
On Fri, Jun 28, 2019 at 12:50 PM Yu-cheng Yu wrote: > > The IBT bitmap is visiable from user-mode, but not writable. > > Signed-off-by: Yu-cheng Yu > > --- > arch/x86/mm/fault.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c > index 59f4

[RFC PATCH 3/3] Prevent user from writing to IBT bitmap.

2019-06-28 Thread Yu-cheng Yu
The IBT bitmap is visiable from user-mode, but not writable. Signed-off-by: Yu-cheng Yu --- arch/x86/mm/fault.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c index 59f4f66e4f2e..231196abb62e 100644 --- a/arch/x86/mm/fault.c +++ b/arch/x86/m