Make hackish refinement of the CONFIG_ARCH_MMAP_RND_BITS check
authorAlexander Popov <alex.popov@linux.com>
Sat, 22 Apr 2023 23:00:31 +0000 (02:00 +0300)
committerAlexander Popov <alex.popov@linux.com>
Sat, 22 Apr 2023 23:00:31 +0000 (02:00 +0300)
commit9bbea5b5bad45aac84aadf83536e31f9bd5e395e
treec5b889780f6c9953825b61f67627c4224592b7fd
parent7194de8dfe8b6232166eded1516eb7fdd21c14ed
Make hackish refinement of the CONFIG_ARCH_MMAP_RND_BITS check

Use new override_expected_value() for that.

This is needed to avoid wrong recommendations for ARM64 and ARM, where
CONFIG_ARCH_MMAP_RND_BITS_MAX depends on the paging configuration.
kconfig_hardened_check/__init__.py
kconfig_hardened_check/checks.py