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
f30796b8
Commit
f30796b8
authored
Mar 13, 2019
by
Alexander Popov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ARM64_PTR_AUTH check
parent
becad496
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
kconfig-hardened-check.py
kconfig-hardened-check.py
+2
-0
No files found.
kconfig-hardened-check.py
View file @
f30796b8
...
@@ -322,6 +322,8 @@ def construct_checklist(arch):
...
@@ -322,6 +322,8 @@ def construct_checklist(arch):
if
debug_mode
or
arch
==
'X86_32'
:
if
debug_mode
or
arch
==
'X86_32'
:
checklist
.
append
(
OptCheck
(
'MODIFY_LDT_SYSCALL'
,
'is not set'
,
'my'
,
'cut_attack_surface'
))
checklist
.
append
(
OptCheck
(
'MODIFY_LDT_SYSCALL'
,
'is not set'
,
'my'
,
'cut_attack_surface'
))
if
debug_mode
or
arch
==
'ARM64'
:
checklist
.
append
(
OptCheck
(
'ARM64_PTR_AUTH'
,
'y'
,
'defconfig'
,
'userspace_protection'
))
if
debug_mode
or
arch
==
'X86_64'
or
arch
==
'ARM64'
:
if
debug_mode
or
arch
==
'X86_64'
or
arch
==
'ARM64'
:
checklist
.
append
(
OptCheck
(
'ARCH_MMAP_RND_BITS'
,
'32'
,
'my'
,
'userspace_protection'
))
checklist
.
append
(
OptCheck
(
'ARCH_MMAP_RND_BITS'
,
'32'
,
'my'
,
'userspace_protection'
))
if
debug_mode
or
arch
==
'X86_32'
or
arch
==
'ARM'
:
if
debug_mode
or
arch
==
'X86_32'
or
arch
==
'ARM'
:
...
...
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