Commit a6732ba5 by Alexander Popov

Add the norandmaps check

Thanks to @izh1979 for the idea
parent 21170ca6
......@@ -545,6 +545,9 @@ def add_cmdline_checks(l, arch):
# 'cut_attack_surface', 'my'
l += [CmdlineCheck('cut_attack_surface', 'my', 'sysrq_always_enabled', 'is not set')]
# 'harden_userspace'
l += [CmdlineCheck('harden_userspace', 'defconfig', 'norandmaps', 'is not set')]
no_kstrtobool_options = [
'debugfs', # See debugfs_kernel() in fs/debugfs/inode.c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment