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
3c896896
Commit
3c896896
authored
Jul 07, 2020
by
Alexander Popov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM64_PTR_AUTH is now supported for the kernel (from v5.7)
parent
d4063eee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
__init__.py
kconfig_hardened_check/__init__.py
+1
-2
No files found.
kconfig_hardened_check/__init__.py
View file @
3c896896
...
@@ -309,6 +309,7 @@ def construct_checklist(checklist, arch):
...
@@ -309,6 +309,7 @@ def construct_checklist(checklist, arch):
checklist
.
append
(
OptCheck
(
'UNMAP_KERNEL_AT_EL0'
,
'y'
,
'defconfig'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'UNMAP_KERNEL_AT_EL0'
,
'y'
,
'defconfig'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'HARDEN_EL2_VECTORS'
,
'y'
,
'defconfig'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'HARDEN_EL2_VECTORS'
,
'y'
,
'defconfig'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'RODATA_FULL_DEFAULT_ENABLED'
,
'y'
,
'defconfig'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'RODATA_FULL_DEFAULT_ENABLED'
,
'y'
,
'defconfig'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'ARM64_PTR_AUTH'
,
'y'
,
'defconfig'
,
'self_protection'
))
if
arch
in
(
'X86_64'
,
'ARM64'
):
if
arch
in
(
'X86_64'
,
'ARM64'
):
checklist
.
append
(
OptCheck
(
'VMAP_STACK'
,
'y'
,
'defconfig'
,
'self_protection'
))
checklist
.
append
(
OptCheck
(
'VMAP_STACK'
,
'y'
,
'defconfig'
,
'self_protection'
))
if
arch
in
(
'X86_64'
,
'ARM64'
,
'X86_32'
):
if
arch
in
(
'X86_64'
,
'ARM64'
,
'X86_32'
):
...
@@ -495,8 +496,6 @@ def construct_checklist(checklist, arch):
...
@@ -495,8 +496,6 @@ def construct_checklist(checklist, arch):
checklist
.
append
(
OptCheck
(
'INPUT_EVBUG'
,
'is not set'
,
'my'
,
'cut_attack_surface'
))
# Can be used as a keylogger
checklist
.
append
(
OptCheck
(
'INPUT_EVBUG'
,
'is not set'
,
'my'
,
'cut_attack_surface'
))
# Can be used as a keylogger
checklist
.
append
(
OptCheck
(
'INTEGRITY'
,
'y'
,
'defconfig'
,
'userspace_hardening'
))
checklist
.
append
(
OptCheck
(
'INTEGRITY'
,
'y'
,
'defconfig'
,
'userspace_hardening'
))
if
arch
==
'ARM64'
:
checklist
.
append
(
OptCheck
(
'ARM64_PTR_AUTH'
,
'y'
,
'defconfig'
,
'userspace_hardening'
))
if
arch
in
(
'ARM'
,
'X86_32'
):
if
arch
in
(
'ARM'
,
'X86_32'
):
checklist
.
append
(
OptCheck
(
'VMSPLIT_3G'
,
'y'
,
'defconfig'
,
'userspace_hardening'
))
checklist
.
append
(
OptCheck
(
'VMSPLIT_3G'
,
'y'
,
'defconfig'
,
'userspace_hardening'
))
if
arch
in
(
'X86_64'
,
'ARM64'
):
if
arch
in
(
'X86_64'
,
'ARM64'
):
...
...
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