Fix the CONFIG_DEFAULT_MMAP_MIN_ADDR recommendation for arm64 master
authorAlexander Popov <alex.popov@linux.com>
Mon, 2 Dec 2024 08:11:36 +0000 (11:11 +0300)
committerAlexander Popov <alex.popov@linux.com>
Mon, 2 Dec 2024 08:16:30 +0000 (11:16 +0300)
commit12eb32d21203bd164271281c6266f161a300c40c
tree6a1f09ef578ab42f6b979f455aea086968638720
parentd851031fbb53b73a8302a285ed77f8a639f83ad8
Fix the CONFIG_DEFAULT_MMAP_MIN_ADDR recommendation for arm64

Quote from kernel sources:
```
For most arm64, ppc64 and x86 users with lots of address space
a value of 65536 is reasonable and should cause no problems.
On arm and other archs it should not be higher than 32768.
```
https://elixir.bootlin.com/linux/v6.12.1/source/mm/Kconfig#L743

Also see https://github.com/KSPP/kspp.github.io/pull/5
kernel_hardening_checker/checks.py