diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2019-03-11 04:30:35 -0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-04-21 09:11:46 -0400 |
commit | 31ed2b13c48d779efc838ad54e30121e088a62af (patch) | |
tree | 80890f996c246cd567e2822230b68340919adebf /arch/x86 | |
parent | 2679f9bd0abafb3044bcbaac0600b32159ac8bf2 (diff) |
powerpc/32s: Implement Kernel Userspace Execution Prevention.
To implement Kernel Userspace Execution Prevention, this patch
sets NX bit on all user segments on kernel entry and clears NX bit
on all user segments on kernel exit.
Note that powerpc 601 doesn't have the NX bit, so KUEP will not
work on it. A warning is displayed at startup.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions