projects
/
kconfig-hardened-check.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
3288e37
)
Merge branch 'scs-pac'
author
Alexander Popov
<alex.popov@linux.com>
Sun, 9 Jun 2024 10:40:00 +0000
(13:40 +0300)
committer
Alexander Popov
<alex.popov@linux.com>
Sun, 9 Jun 2024 10:40:00 +0000
(13:40 +0300)
Refers to #131
Thanks @jvoisin
kernel_hardening_checker/checks.py
patch
|
blob
|
history
diff --git
a/kernel_hardening_checker/checks.py
b/kernel_hardening_checker/checks.py
index 7ac45b16ee72532aac4275fe530bc72fe85d07b9..d3d5a8338e534596c5f485f04f7b932f053f2ba6 100644
(file)
--- a/
kernel_hardening_checker/checks.py
+++ b/
kernel_hardening_checker/checks.py
@@
-253,6
+253,7
@@
def add_kconfig_checks(l: List[ChecklistObjType], arch: str) -> None:
if arch == 'ARM64':
l += [KconfigCheck('self_protection', 'kspp', 'ARM64_SW_TTBR0_PAN', 'y')]
l += [KconfigCheck('self_protection', 'kspp', 'SHADOW_CALL_STACK', 'y')]
+ l += [KconfigCheck('self_protection', 'kspp', 'UNWIND_PATCH_PAC_INTO_SCS', 'y')]
l += [KconfigCheck('self_protection', 'kspp', 'KASAN_HW_TAGS', 'y')] # see also: kasan=on, kasan.stacktrace=off, kasan.fault=panic
if arch == 'X86_32':
l += [KconfigCheck('self_protection', 'kspp', 'HIGHMEM64G', 'y')]