From: Eric Biggers Date: Thu, 9 Mar 2017 00:27:04 +0000 (-0800) Subject: arm64: support keyctl() system call in 32-bit mode X-Git-Tag: v3.18.138~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33807cfab9fd1cec38a3648ad2400ba36034b25a;p=thirdparty%2Fkernel%2Fstable.git 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: Eric Biggers Signed-off-by: Will Deacon Signed-off-by: Sasha Levin --- diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index e8d81283c4fec..4ddf817f4a5cb 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -558,6 +558,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"