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:
b23f245
)
Check the kernel.dmesg_restrict sysctl
author
Alexander Popov
<alex.popov@linux.com>
Sun, 23 Jul 2023 21:15:57 +0000
(
00:15
+0300)
committer
Alexander Popov
<alex.popov@linux.com>
Sun, 23 Jul 2023 21:15:57 +0000
(
00:15
+0300)
kconfig_hardened_check/checks.py
patch
|
blob
|
history
diff --git
a/kconfig_hardened_check/checks.py
b/kconfig_hardened_check/checks.py
index fc63f3a7df593bf2ec1c4235cca04a110fe3dbba..e30746c9fc0c3af0f4a60ef75a8f8d73b486e7d1 100644
(file)
--- a/
kconfig_hardened_check/checks.py
+++ b/
kconfig_hardened_check/checks.py
@@
-609,4
+609,4
@@
def add_sysctl_checks(l, arch):
l += [SysctlCheck('self_protection', 'kspp', 'net.core.bpf_jit_harden', '2')]
- l += [SysctlCheck('
self_protection
', 'kspp', 'kernel.dmesg_restrict', '1')]
+ l += [SysctlCheck('
cut_attack_surface
', 'kspp', 'kernel.dmesg_restrict', '1')]