diff options
author | Lecopzer Chen <lecopzer.chen@mediatek.com> | 2021-03-24 12:05:21 +0800 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2021-03-29 12:35:05 +0100 |
commit | 31d02e7ab00873befd2cfb6e44581490d947c38b (patch) | |
tree | ea2440bcbb811caabbcd2b51802f70ea160a718c /usr | |
parent | 71b613fc0c69080262f4ebe810c3d909d7ff8132 (diff) |
arm64: kaslr: support randomized module area with KASAN_VMALLOC
After KASAN_VMALLOC works in arm64, we can randomize module region
into vmalloc area now.
Test:
VMALLOC area ffffffc010000000 fffffffdf0000000
before the patch:
module_alloc_base/end ffffffc008b80000 ffffffc010000000
after the patch:
module_alloc_base/end ffffffdcf4bed000 ffffffc010000000
And the function that insmod some modules is fine.
Suggested-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Lecopzer Chen <lecopzer.chen@mediatek.com>
Link: https://lore.kernel.org/r/20210324040522.15548-5-lecopzer.chen@mediatek.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions