diff options
| author | Ard Biesheuvel <[email protected]> | 2024-02-14 12:29:28 +0000 |
|---|---|---|
| committer | Catalin Marinas <[email protected]> | 2024-02-16 12:42:43 +0000 |
| commit | cb1a393c40eee2f1692c995ea0cc6e45bfccde4d (patch) | |
| tree | cdb22e3f9f77883f442ad3f1e279c5040309751f /scripts/generate_rust_target.rs | |
| parent | arm64: defconfig: Enable LPA2 support (diff) | |
| download | kernel-cb1a393c40eee2f1692c995ea0cc6e45bfccde4d.tar.gz kernel-cb1a393c40eee2f1692c995ea0cc6e45bfccde4d.zip | |
mm: add arch hook to validate mmap() prot flags
Add a hook to permit architectures to perform validation on the prot
flags passed to mmap(), like arch_validate_prot() does for mprotect().
This will be used by arm64 to reject PROT_WRITE+PROT_EXEC mappings on
configurations that run with WXN enabled.
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions
