Re: [PATCH] x86, traps: maps all IDTs to fixmap area.

2015-02-27 Thread Kees Cook
On Thu, Feb 26, 2015 at 9:16 PM, Wang Nan wrote: > On 2015/2/27 2:31, Andy Lutomirski wrote: >> On Thu, Feb 26, 2015 at 8:45 AM, Kees Cook wrote: >>> On Thu, Feb 26, 2015 at 7:17 AM, Andy Lutomirski >>> wrote: On Wed, Feb 25, 2015 at 11:06 PM, Wang Nan wrote: > The reason why mapping

Re: [PATCH] x86, traps: maps all IDTs to fixmap area.

2015-02-26 Thread Wang Nan
On 2015/2/27 2:31, Andy Lutomirski wrote: > On Thu, Feb 26, 2015 at 8:45 AM, Kees Cook wrote: >> On Thu, Feb 26, 2015 at 7:17 AM, Andy Lutomirski wrote: >>> On Wed, Feb 25, 2015 at 11:06 PM, Wang Nan wrote: The reason why mapping idt_table to fixmap area should also be applied to debug

Re: [PATCH] x86, traps: maps all IDTs to fixmap area.

2015-02-26 Thread Andy Lutomirski
On Thu, Feb 26, 2015 at 8:45 AM, Kees Cook wrote: > On Thu, Feb 26, 2015 at 7:17 AM, Andy Lutomirski wrote: >> On Wed, Feb 25, 2015 at 11:06 PM, Wang Nan wrote: >>> The reason why mapping idt_table to fixmap area should also be applied >>> to debug_idt_table and trace_idt_table. This patch does

Re: [PATCH] x86, traps: maps all IDTs to fixmap area.

2015-02-26 Thread Kees Cook
On Thu, Feb 26, 2015 at 7:17 AM, Andy Lutomirski wrote: > On Wed, Feb 25, 2015 at 11:06 PM, Wang Nan wrote: >> The reason why mapping idt_table to fixmap area should also be applied >> to debug_idt_table and trace_idt_table. This patch does same thing for >> all IDTs. >> >> Signed-off-by: Wang Na

Re: [PATCH] x86, traps: maps all IDTs to fixmap area.

2015-02-26 Thread Andy Lutomirski
On Wed, Feb 25, 2015 at 11:06 PM, Wang Nan wrote: > The reason why mapping idt_table to fixmap area should also be applied > to debug_idt_table and trace_idt_table. This patch does same thing for > all IDTs. > > Signed-off-by: Wang Nan > --- > > I believe trace_idt_table and debug_idt_table shoul

[PATCH] x86, traps: maps all IDTs to fixmap area.

2015-02-25 Thread Wang Nan
The reason why mapping idt_table to fixmap area should also be applied to debug_idt_table and trace_idt_table. This patch does same thing for all IDTs. Signed-off-by: Wang Nan --- I believe trace_idt_table and debug_idt_table should be symmetrical with idt_table. However, Like my previous patch