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
557ddaa2
Commit
557ddaa2
authored
Nov 09, 2021
by
Alexander Popov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the 'decision' field of the IO_URING check
grsecurity disables IO_URING as well to cut attack surface
parent
b20ddead
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
__init__.py
kconfig_hardened_check/__init__.py
+1
-1
No files found.
kconfig_hardened_check/__init__.py
View file @
557ddaa2
...
@@ -519,6 +519,7 @@ def construct_checklist(l, arch):
...
@@ -519,6 +519,7 @@ def construct_checklist(l, arch):
l
+=
[
OptCheck
(
'cut_attack_surface'
,
'grsecurity'
,
'DVB_C8SECTPFE'
,
'is not set'
)]
l
+=
[
OptCheck
(
'cut_attack_surface'
,
'grsecurity'
,
'DVB_C8SECTPFE'
,
'is not set'
)]
l
+=
[
OptCheck
(
'cut_attack_surface'
,
'grsecurity'
,
'MTD_SLRAM'
,
'is not set'
)]
l
+=
[
OptCheck
(
'cut_attack_surface'
,
'grsecurity'
,
'MTD_SLRAM'
,
'is not set'
)]
l
+=
[
OptCheck
(
'cut_attack_surface'
,
'grsecurity'
,
'MTD_PHRAM'
,
'is not set'
)]
l
+=
[
OptCheck
(
'cut_attack_surface'
,
'grsecurity'
,
'MTD_PHRAM'
,
'is not set'
)]
l
+=
[
OptCheck
(
'cut_attack_surface'
,
'grsecurity'
,
'IO_URING'
,
'is not set'
)]
l
+=
[
AND
(
OptCheck
(
'cut_attack_surface'
,
'grsecurity'
,
'X86_PTDUMP'
,
'is not set'
),
l
+=
[
AND
(
OptCheck
(
'cut_attack_surface'
,
'grsecurity'
,
'X86_PTDUMP'
,
'is not set'
),
OptCheck
(
'cut_attack_surface'
,
'my'
,
'PTDUMP_DEBUGFS'
,
'is not set'
))]
OptCheck
(
'cut_attack_surface'
,
'my'
,
'PTDUMP_DEBUGFS'
,
'is not set'
))]
...
@@ -542,7 +543,6 @@ def construct_checklist(l, arch):
...
@@ -542,7 +543,6 @@ def construct_checklist(l, arch):
l
+=
[
OptCheck
(
'cut_attack_surface'
,
'clipos'
,
'USER_NS'
,
'is not set'
)]
# user.max_user_namespaces=0
l
+=
[
OptCheck
(
'cut_attack_surface'
,
'clipos'
,
'USER_NS'
,
'is not set'
)]
# user.max_user_namespaces=0
l
+=
[
OptCheck
(
'cut_attack_surface'
,
'clipos'
,
'X86_MSR'
,
'is not set'
)]
# refers to LOCKDOWN
l
+=
[
OptCheck
(
'cut_attack_surface'
,
'clipos'
,
'X86_MSR'
,
'is not set'
)]
# refers to LOCKDOWN
l
+=
[
OptCheck
(
'cut_attack_surface'
,
'clipos'
,
'X86_CPUID'
,
'is not set'
)]
l
+=
[
OptCheck
(
'cut_attack_surface'
,
'clipos'
,
'X86_CPUID'
,
'is not set'
)]
l
+=
[
OptCheck
(
'cut_attack_surface'
,
'clipos'
,
'IO_URING'
,
'is not set'
)]
l
+=
[
OptCheck
(
'cut_attack_surface'
,
'clipos'
,
'X86_IOPL_IOPERM'
,
'is not set'
)]
# refers to LOCKDOWN
l
+=
[
OptCheck
(
'cut_attack_surface'
,
'clipos'
,
'X86_IOPL_IOPERM'
,
'is not set'
)]
# refers to LOCKDOWN
l
+=
[
OptCheck
(
'cut_attack_surface'
,
'clipos'
,
'ACPI_TABLE_UPGRADE'
,
'is not set'
)]
# refers to LOCKDOWN
l
+=
[
OptCheck
(
'cut_attack_surface'
,
'clipos'
,
'ACPI_TABLE_UPGRADE'
,
'is not set'
)]
# refers to LOCKDOWN
l
+=
[
OptCheck
(
'cut_attack_surface'
,
'clipos'
,
'EFI_CUSTOM_SSDT_OVERLAYS'
,
'is not set'
)]
l
+=
[
OptCheck
(
'cut_attack_surface'
,
'clipos'
,
'EFI_CUSTOM_SSDT_OVERLAYS'
,
'is 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