Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kernel-hardening-checker
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
kernel-hardening-checker
Commits
e8eba6a4
Commit
e8eba6a4
authored
Mar 18, 2020
by
Alexander Popov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SECURITY_WRITABLE_HOOKS and SECURITY_SELINUX_DISABLE mean the same
parent
05c183ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
kconfig-hardened-check.py
kconfig-hardened-check.py
+2
-1
No files found.
kconfig-hardened-check.py
View file @
e8eba6a4
...
...
@@ -346,6 +346,8 @@ def construct_checklist(checklist, arch):
if
arch
==
'ARM'
:
checklist
.
append
(
OptCheck
(
'SECURITY'
,
'y'
,
'kspp'
,
'security_policy'
))
# and choose your favourite LSM
checklist
.
append
(
OptCheck
(
'SECURITY_YAMA'
,
'y'
,
'kspp'
,
'security_policy'
))
checklist
.
append
(
OR
(
OptCheck
(
'SECURITY_WRITABLE_HOOKS'
,
'is not set'
,
'my'
,
'security_policy'
),
\
OptCheck
(
'SECURITY_SELINUX_DISABLE'
,
'is not set'
,
'kspp'
,
'security_policy'
)))
checklist
.
append
(
OptCheck
(
'SECURITY_LOCKDOWN_LSM'
,
'y'
,
'clipos'
,
'security_policy'
))
checklist
.
append
(
OptCheck
(
'SECURITY_LOCKDOWN_LSM_EARLY'
,
'y'
,
'clipos'
,
'security_policy'
))
checklist
.
append
(
OptCheck
(
'LOCK_DOWN_KERNEL_FORCE_CONFIDENTIALITY'
,
'y'
,
'clipos'
,
'security_policy'
))
...
...
@@ -354,7 +356,6 @@ def construct_checklist(checklist, arch):
checklist
.
append
(
AND
(
OptCheck
(
'SECURITY_LOADPIN_ENFORCE'
,
'y'
,
'my'
,
'security_policy'
),
\
loadpin_is_set
))
checklist
.
append
(
OptCheck
(
'SECURITY_SAFESETID'
,
'y'
,
'my'
,
'security_policy'
))
checklist
.
append
(
OptCheck
(
'SECURITY_WRITABLE_HOOKS'
,
'is not set'
,
'my'
,
'security_policy'
))
checklist
.
append
(
OptCheck
(
'SECCOMP'
,
'y'
,
'defconfig'
,
'cut_attack_surface'
))
checklist
.
append
(
OptCheck
(
'SECCOMP_FILTER'
,
'y'
,
'defconfig'
,
'cut_attack_surface'
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment