From e258772d4c7b7acd0d0b5082744ae1977badc627 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Thu, 3 Oct 2024 11:52:43 +0300 Subject: [PATCH] style fix --- kernel_hardening_checker/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel_hardening_checker/__init__.py b/kernel_hardening_checker/__init__.py index f68bba8..740356e 100755 --- a/kernel_hardening_checker/__init__.py +++ b/kernel_hardening_checker/__init__.py @@ -57,9 +57,9 @@ def detect_arch_kconfig(fname: str, supported_archs: List[str]) -> Tuple[StrOrNo def detect_arch_sysctl(fname: str, supported_archs: List[str]) -> Tuple[StrOrNone, str]: arch_mapping = { - 'ARM64': r'^aarch64|armv8', # armv8+ is 64-bit - 'ARM': r'^armv[3-7]', # armv? is 32-bit (below 8) - 'X86_32': r'^i[3-6]?86', # i?86 is 32-bit + 'ARM64': r'^aarch64|armv8', + 'ARM': r'^armv[3-7]', + 'X86_32': r'^i[3-6]?86', 'X86_64': r'^x86_64' } with _open(fname) as f: -- 2.31.1