Commit c43fbdb0 authored by Eric Biggers's avatar Eric Biggers Committed by DidntRead
Browse files

arm64: support keyctl() system call in 32-bit mode



[ Upstream commit 5c2a625937ba49bc691089370638223d310cda9a ]

As is the case for a number of other architectures that have a 32-bit
compat mode, enable KEYS_COMPAT if both COMPAT and KEYS are enabled.
This allows AArch32 programs to use the keyctl() system call when
running on an AArch64 kernel.

Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 69f030a1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -960,6 +960,10 @@ config SYSVIPC_COMPAT
	def_bool y
	depends on COMPAT && SYSVIPC

config KEYS_COMPAT
	def_bool y
	depends on COMPAT && KEYS

endmenu

menu "Power management options"