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
d88babb1
Commit
d88babb1
authored
Jul 30, 2018
by
Alexander Popov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add DEBUG_SET_MODULE_RONX as old alternative to STRICT_MODULE_RWX
parent
0d7325e1
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 @
d88babb1
...
@@ -104,7 +104,6 @@ def construct_checklist():
...
@@ -104,7 +104,6 @@ def construct_checklist():
checklist
.
append
(
OptCheck
(
'RETPOLINE'
,
'y'
,
'ubuntu18'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'RETPOLINE'
,
'y'
,
'ubuntu18'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'X86_64'
,
'y'
,
'ubuntu18'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'X86_64'
,
'y'
,
'ubuntu18'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'STRICT_KERNEL_RWX'
,
'y'
,
'ubuntu18'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'STRICT_KERNEL_RWX'
,
'y'
,
'ubuntu18'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'STRICT_MODULE_RWX'
,
'y'
,
'ubuntu18'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'DEBUG_WX'
,
'y'
,
'ubuntu18'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'DEBUG_WX'
,
'y'
,
'ubuntu18'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'RANDOMIZE_BASE'
,
'y'
,
'ubuntu18'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'RANDOMIZE_BASE'
,
'y'
,
'ubuntu18'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'RANDOMIZE_MEMORY'
,
'y'
,
'ubuntu18'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'RANDOMIZE_MEMORY'
,
'y'
,
'ubuntu18'
,
'self_protection'
))
...
@@ -118,6 +117,8 @@ def construct_checklist():
...
@@ -118,6 +117,8 @@ def construct_checklist():
checklist
.
append
(
OptCheck
(
'SLAB_FREELIST_RANDOM'
,
'y'
,
'ubuntu18'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'SLAB_FREELIST_RANDOM'
,
'y'
,
'ubuntu18'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'HARDENED_USERCOPY'
,
'y'
,
'ubuntu18'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'HARDENED_USERCOPY'
,
'y'
,
'ubuntu18'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'FORTIFY_SOURCE'
,
'y'
,
'ubuntu18'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'FORTIFY_SOURCE'
,
'y'
,
'ubuntu18'
,
'self_protection'
))
checklist
.
append
(
OR
(
OptCheck
(
'STRICT_MODULE_RWX'
,
'y'
,
'ubuntu18'
,
'self_protection'
),
\
OptCheck
(
'DEBUG_SET_MODULE_RONX'
,
'y'
,
'before_v4.11'
,
'self_protection'
),
modules_not_set
))
checklist
.
append
(
OR
(
OptCheck
(
'MODULE_SIG'
,
'y'
,
'ubuntu18'
,
'self_protection'
),
modules_not_set
))
checklist
.
append
(
OR
(
OptCheck
(
'MODULE_SIG'
,
'y'
,
'ubuntu18'
,
'self_protection'
),
modules_not_set
))
checklist
.
append
(
OR
(
OptCheck
(
'MODULE_SIG_ALL'
,
'y'
,
'ubuntu18'
,
'self_protection'
),
modules_not_set
))
checklist
.
append
(
OR
(
OptCheck
(
'MODULE_SIG_ALL'
,
'y'
,
'ubuntu18'
,
'self_protection'
),
modules_not_set
))
checklist
.
append
(
OR
(
OptCheck
(
'MODULE_SIG_SHA512'
,
'y'
,
'ubuntu18'
,
'self_protection'
),
modules_not_set
))
checklist
.
append
(
OR
(
OptCheck
(
'MODULE_SIG_SHA512'
,
'y'
,
'ubuntu18'
,
'self_protection'
),
modules_not_set
))
...
...
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