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-Url: https://git.stricted.de/?a=commitdiff_plain;h=5c2a625937ba49bc691089370638223d310cda9a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git arm64: support keyctl() system call in 32-bit mode 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 --- diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index a39029b5414e..f21e9a76ff67 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1063,6 +1063,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"