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
b66e0ce2
Commit
b66e0ce2
authored
Mar 20, 2020
by
Alexander Popov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
KSPP now recommends PAGE_TABLE_ISOLATION for X86_32
parent
0e4ee10b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
kconfig-hardened-check.py
kconfig-hardened-check.py
+1
-2
No files found.
kconfig-hardened-check.py
View file @
b66e0ce2
...
...
@@ -310,6 +310,7 @@ def construct_checklist(checklist, arch):
if
arch
==
'X86_64'
or
arch
==
'X86_32'
:
checklist
.
append
(
OptCheck
(
'DEFAULT_MMAP_MIN_ADDR'
,
'65536'
,
'kspp'
,
'self_protection'
))
if
arch
==
'X86_32'
:
checklist
.
append
(
OptCheck
(
'PAGE_TABLE_ISOLATION'
,
'y'
,
'kspp'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'HIGHMEM64G'
,
'y'
,
'kspp'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'X86_PAE'
,
'y'
,
'kspp'
,
'self_protection'
))
if
arch
==
'ARM64'
:
...
...
@@ -340,8 +341,6 @@ def construct_checklist(checklist, arch):
if
arch
==
'X86_64'
:
checklist
.
append
(
AND
(
OptCheck
(
'AMD_IOMMU_V2'
,
'y'
,
'my'
,
'self_protection'
),
\
iommu_support_is_set
))
if
arch
==
'X86_32'
:
checklist
.
append
(
OptCheck
(
'PAGE_TABLE_ISOLATION'
,
'y'
,
'my'
,
'self_protection'
))
if
arch
==
'X86_64'
or
arch
==
'ARM64'
or
arch
==
'X86_32'
:
checklist
.
append
(
OptCheck
(
'SECURITY'
,
'y'
,
'defconfig'
,
'security_policy'
))
# and choose your favourite LSM
...
...
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