X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=kconfig_hardened_check%2F__init__.py;h=71840aa321092e6dff2a211de60973044c105efd;hb=35fa2ccf84d5eba5a5a4f21c93aeda9d498b574b;hp=15bdcae7c74e033c1096833449a6e184468327dd;hpb=bc54ef9240bffb220930cecbfc217f791259663b;p=kconfig-hardened-check.git diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index 15bdcae..71840aa 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -22,7 +22,6 @@ # kpti=on # # Should NOT be set: -# sysrq_always_enabled # arm64.nobti # arm64.nopauth # arm64.nomte @@ -810,6 +809,8 @@ def add_cmdline_checks(l, arch): l += [OR(CmdlineCheck('cut_attack_surface', 'grsec', 'debugfs', 'off'), KconfigCheck('cut_attack_surface', 'grsec', 'DEBUG_FS', 'is not set'))] # ... the end + # 'cut_attack_surface', 'my' + l += [CmdlineCheck('cut_attack_surface', 'my', 'sysrq_always_enabled', 'is not set')] def print_unknown_options(checklist, parsed_options): known_options = []