Commit 9f90a30a by Alexander Popov

Check the nosmap and nosmep cmdline parameters

parent 6ae70f5e
......@@ -719,6 +719,10 @@ def add_cmdline_checks(l, arch):
# 'self_protection', 'clipos'
l += [CmdlineCheck('self_protection', 'clipos', 'page_alloc.shuffle', '1')]
# 'self_protection', 'my'
l += [CmdlineCheck('self_protection', 'my', 'nosmep', 'is not set')]
l += [CmdlineCheck('self_protection', 'my', 'nosmap', 'is not set')]
# 'cut_attack_surface', 'kspp'
if arch == 'X86_64':
l += [OR(CmdlineCheck('cut_attack_surface', 'kspp', 'vsyscall', 'none'),
......
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