From 8d3cce0b652b9cb8fb74ef01fc2cc16b696fc51c Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sat, 4 Feb 2023 17:04:40 +0300 Subject: [PATCH] Return the AIO check Linus about AIO: https://lwn.net/Articles/671657/ LWN: Fixing asynchronous I/O, again: https://lwn.net/Articles/671649/ --- kconfig_hardened_check/__init__.py | 1 + 1 file changed, 1 insertion(+) 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)] -- 2.31.1