summaryrefslogtreecommitdiff
path: root/security/commoncap.c
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2021-06-08 21:02:57 +0300
committerWill Deacon <will@kernel.org>2021-06-11 15:25:41 +0300
commit873c3e89777c8c56f936ae7aceca1a102aac6b9e (patch)
treec84816eb04b65c9c89fe29e873fc311e108b532f /security/commoncap.c
parent2f6a49bbc01da17867c26f6f650b1142e1d7c69d (diff)
downloadlinux-873c3e89777c8c56f936ae7aceca1a102aac6b9e.tar.xz
arm64: Kill 32-bit applications scheduled on 64-bit-only CPUs
Scheduling a 32-bit application on a 64-bit-only CPU is a bad idea. Ensure that 32-bit applications always take the slow-path when returning to userspace on a system with mismatched support at EL0, so that we can avoid trying to run on a 64-bit-only CPU and force a SIGKILL instead. Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Link: https://lore.kernel.org/r/20210608180313.11502-5-will@kernel.org Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'security/commoncap.c')
0 files changed, 0 insertions, 0 deletions