diff options
| author | Lecopzer Chen <[email protected]> | 2021-03-24 04:05:21 +0000 |
|---|---|---|
| committer | Catalin Marinas <[email protected]> | 2021-03-29 11:35:05 +0000 |
| commit | 31d02e7ab00873befd2cfb6e44581490d947c38b (patch) | |
| tree | ea2440bcbb811caabbcd2b51802f70ea160a718c /lib/dynamic_debug.c | |
| parent | arm64: Kconfig: support CONFIG_KASAN_VMALLOC (diff) | |
| download | kernel-31d02e7ab00873befd2cfb6e44581490d947c38b.tar.gz kernel-31d02e7ab00873befd2cfb6e44581490d947c38b.zip | |
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 <[email protected]>
Signed-off-by: Lecopzer Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
