diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2021-03-10 11:49:42 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2021-03-19 18:50:46 +0000 |
commit | 59511cfd08f32d0e9d363ffa0fdaaa75afdc52b1 (patch) | |
tree | 0d678972d8cf25ee0b3f4f06f85a464aabc6c6ca /arch/arm64/crypto/sha1-ce-core.S | |
parent | 87143f404f338dbf0b51374ea48ab05e598af564 (diff) |
arm64: mm: use XN table mapping attributes for user/kernel mappings
As the kernel and user space page tables are strictly mutually exclusive
when it comes to executable permissions, we can set the UXN table attribute
on all table entries that are created while creating kernel mappings in the
swapper page tables, and the PXN table attribute on all table entries that
are created while creating user space mappings in user space page tables.
While at it, get rid of a redundant comment.
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20210310104942.174584-4-ardb@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/crypto/sha1-ce-core.S')
0 files changed, 0 insertions, 0 deletions