From: Alexander Popov Date: Sat, 4 Feb 2023 14:04:40 +0000 (+0300) Subject: Return the AIO check X-Git-Tag: v0.6.6~247 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=8d3cce0b652b9cb8fb74ef01fc2cc16b696fc51c;p=kconfig-hardened-check.git Return the AIO check Linus about AIO: https://lwn.net/Articles/671657/ LWN: Fixing asynchronous I/O, again: https://lwn.net/Articles/671649/ --- diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index 90a7daf..48df2fc 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -668,6 +668,7 @@ def add_kconfig_checks(l, arch): l += [KconfigCheck('cut_attack_surface', 'my', 'VIDEO_VIVID', 'is not set')] l += [KconfigCheck('cut_attack_surface', 'my', 'INPUT_EVBUG', 'is not set')] # Can be used as a keylogger l += [KconfigCheck('cut_attack_surface', 'my', 'KGDB', 'is not set')] + l += [KconfigCheck('cut_attack_surface', 'my', 'AIO', 'is not set')] l += [OR(KconfigCheck('cut_attack_surface', 'my', 'TRIM_UNUSED_KSYMS', 'y'), modules_not_set)]