diff options
author | Arvind Sankar <nivedita@alum.mit.edu> | 2020-07-17 15:45:26 -0400 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-08-20 11:18:36 +0200 |
commit | c8502eb2d43b6b9b1dc382299a4d37031be63876 (patch) | |
tree | e3c61984672bb8fa25d4026e228be29cd99ec66c /arch/x86/ia32 | |
parent | 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff) | |
download | linux-c8502eb2d43b6b9b1dc382299a4d37031be63876.tar.bz2 |
efi/x86: Mark kernel rodata non-executable for mixed mode
When remapping the kernel rodata section RO in the EFI pagetables, the
protection flags that were used for the text section are being reused,
but the rodata section should not be marked executable.
Cc: <stable@vger.kernel.org>
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Link: https://lore.kernel.org/r/20200717194526.3452089-1-nivedita@alum.mit.edu
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'arch/x86/ia32')
0 files changed, 0 insertions, 0 deletions