commit | beca4e2d994464f5a0f629c1ff91b98398725efa | [log] [tgz] |
---|---|---|
author | Borislav Petkov <bp@suse.de> | Thu Jan 04 17:42:45 2018 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 10 09:29:54 2018 +0100 |
tree | 7f6e55a819d6b56128715a93de16a7d67ae3afdd | |
parent | 47f3cea393ab5188d1a1409259e71099314dc530 [diff] |
Map the vsyscall page with _PAGE_USER This needs to happen early in kaiser_pagetable_walk(), before the hierarchy is established so that _PAGE_USER permission can be really set. A proper fix would be to teach kaiser_pagetable_walk() to update those permissions but the vsyscall page is the only exception here so ... Signed-off-by: Borislav Petkov <bp@suse.de> Acked-by: Hugh Dickins <hughd@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>