Commit 594fcd1c by Alexander Popov

Check ARM64_PTR_AUTH for userspace hardening

parent 9cdd06a1
...@@ -629,6 +629,8 @@ def add_kconfig_checks(l, arch): ...@@ -629,6 +629,8 @@ def add_kconfig_checks(l, arch):
l += [KconfigCheck('harden_userspace', 'defconfig', 'INTEGRITY', 'y')] l += [KconfigCheck('harden_userspace', 'defconfig', 'INTEGRITY', 'y')]
if arch == 'ARM': if arch == 'ARM':
l += [KconfigCheck('harden_userspace', 'my', 'INTEGRITY', 'y')] l += [KconfigCheck('harden_userspace', 'my', 'INTEGRITY', 'y')]
if arch == 'ARM64':
l += [KconfigCheck('harden_userspace', 'defconfig', 'ARM64_PTR_AUTH', 'y')]
if arch in ('ARM', 'X86_32'): if arch in ('ARM', 'X86_32'):
l += [KconfigCheck('harden_userspace', 'defconfig', 'VMSPLIT_3G', 'y')] l += [KconfigCheck('harden_userspace', 'defconfig', 'VMSPLIT_3G', 'y')]
if arch in ('X86_64', 'ARM64'): if arch in ('X86_64', 'ARM64'):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment