Re: [PATCH 4.4] vsyscall: Fix permissions for emulate mode with KAISER/PTI

Greg Kroah-Hartman
2018-01-26T16:37:51Z

On Fri, Jan 26, 2018 at 04:23:02PM +0000, Ben Hutchings wrote:
> The backport of KAISER to 4.4 turned vsyscall emulate mode into native
> mode. Add a vsyscall_pgprot variable to hold the correct page
> protections, like Borislav and Hugh did for 3.2 and 3.18.
>
> Cc: Borislav Petkov <bp@suse.de>
> Cc: Hugh Dickins <hughd@google.com>
> Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
> ---
> I think this is also needed for 4.9 but haven't tested there.

Yeah, looks like 4.9 also needs this. Thanks a lot for this, I didn't
think to look at the older backports recently.

greg k-h