projects
/
kconfig-hardened-check.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d8e8d5
)
Fix pylint W0613: Unused argument 'arch'
author
Alexander Popov
<alex.popov@linux.com>
Tue, 16 Jan 2024 08:26:27 +0000
(11:26 +0300)
committer
Alexander Popov
<alex.popov@linux.com>
Tue, 16 Jan 2024 08:26:27 +0000
(11:26 +0300)
kernel_hardening_checker/checks.py
patch
|
blob
|
history
diff --git
a/kernel_hardening_checker/checks.py
b/kernel_hardening_checker/checks.py
index e172e96796b90a2cdbbd27f1efcf190a86b21d07..ece903f7eb5d1f17df93ae94cbb7d362944e90ea 100644
(file)
--- a/
kernel_hardening_checker/checks.py
+++ b/
kernel_hardening_checker/checks.py
@@
-622,7
+622,7
@@
def normalize_cmdline_options(option, value):
# kernel.warn_limit (think about a proper value)
# net.ipv4.tcp_syncookies=1 (?)
-def add_sysctl_checks(l, arch):
+def add_sysctl_checks(l,
_
arch):
# This function may be called with arch=None
# Calling the SysctlCheck class constructor: