Re: [RFC 0/7] Prep code for better stack switching

2017-11-12 Thread Andy Lutomirski
On Sat, Nov 11, 2017 at 8:25 PM, Andy Lutomirski wrote: > On Sat, Nov 11, 2017 at 6:59 PM, Andy Lutomirski wrote: >> On Sat, Nov 11, 2017 at 2:58 AM, Borislav Petkov wrote: >>> On Fri, Nov 10, 2017 at 08:05:19PM -0800, Andy Lutomirski wrote:

Re: [RFC 0/7] Prep code for better stack switching

2017-11-12 Thread Andy Lutomirski
On Sat, Nov 11, 2017 at 8:25 PM, Andy Lutomirski wrote: > On Sat, Nov 11, 2017 at 6:59 PM, Andy Lutomirski wrote: >> On Sat, Nov 11, 2017 at 2:58 AM, Borislav Petkov wrote: >>> On Fri, Nov 10, 2017 at 08:05:19PM -0800, Andy Lutomirski wrote: This isn't quite done (the TSS remap patch is

Re: [RFC 0/7] Prep code for better stack switching

2017-11-11 Thread Andy Lutomirski
On Sat, Nov 11, 2017 at 6:59 PM, Andy Lutomirski wrote: > On Sat, Nov 11, 2017 at 2:58 AM, Borislav Petkov wrote: >> On Fri, Nov 10, 2017 at 08:05:19PM -0800, Andy Lutomirski wrote: >>> This isn't quite done (the TSS remap patch is busted on 32-bit, but >>> that's

Re: [RFC 0/7] Prep code for better stack switching

2017-11-11 Thread Andy Lutomirski
On Sat, Nov 11, 2017 at 6:59 PM, Andy Lutomirski wrote: > On Sat, Nov 11, 2017 at 2:58 AM, Borislav Petkov wrote: >> On Fri, Nov 10, 2017 at 08:05:19PM -0800, Andy Lutomirski wrote: >>> This isn't quite done (the TSS remap patch is busted on 32-bit, but >>> that's a straightforward fix), but it

Re: [RFC 0/7] Prep code for better stack switching

2017-11-11 Thread Andy Lutomirski
On Sat, Nov 11, 2017 at 2:58 AM, Borislav Petkov wrote: > On Fri, Nov 10, 2017 at 08:05:19PM -0800, Andy Lutomirski wrote: >> This isn't quite done (the TSS remap patch is busted on 32-bit, but >> that's a straightforward fix), but it should be ready for at least a >> conceptual

Re: [RFC 0/7] Prep code for better stack switching

2017-11-11 Thread Andy Lutomirski
On Sat, Nov 11, 2017 at 2:58 AM, Borislav Petkov wrote: > On Fri, Nov 10, 2017 at 08:05:19PM -0800, Andy Lutomirski wrote: >> This isn't quite done (the TSS remap patch is busted on 32-bit, but >> that's a straightforward fix), but it should be ready for at least a >> conceptual review. >> >> The

Re: [RFC 0/7] Prep code for better stack switching

2017-11-11 Thread Borislav Petkov
On Fri, Nov 10, 2017 at 08:05:19PM -0800, Andy Lutomirski wrote: > This isn't quite done (the TSS remap patch is busted on 32-bit, but > that's a straightforward fix), but it should be ready for at least a > conceptual review. > > The idea here is to prepare us to have all kernel data needed for

Re: [RFC 0/7] Prep code for better stack switching

2017-11-11 Thread Borislav Petkov
On Fri, Nov 10, 2017 at 08:05:19PM -0800, Andy Lutomirski wrote: > This isn't quite done (the TSS remap patch is busted on 32-bit, but > that's a straightforward fix), but it should be ready for at least a > conceptual review. > > The idea here is to prepare us to have all kernel data needed for

[RFC 0/7] Prep code for better stack switching

2017-11-10 Thread Andy Lutomirski
This isn't quite done (the TSS remap patch is busted on 32-bit, but that's a straightforward fix), but it should be ready for at least a conceptual review. The idea here is to prepare us to have all kernel data needed for user mode execution and early entry located in the fixmap. To do this, I

[RFC 0/7] Prep code for better stack switching

2017-11-10 Thread Andy Lutomirski
This isn't quite done (the TSS remap patch is busted on 32-bit, but that's a straightforward fix), but it should be ready for at least a conceptual review. The idea here is to prepare us to have all kernel data needed for user mode execution and early entry located in the fixmap. To do this, I