]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
arm64: support keyctl() system call in 32-bit mode
authorEric Biggers <ebiggers@google.com>
Thu, 9 Mar 2017 00:27:04 +0000 (16:27 -0800)
committerWill Deacon <will.deacon@arm.com>
Fri, 10 Mar 2017 17:43:46 +0000 (17:43 +0000)
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 <ebiggers@google.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/Kconfig

index a39029b5414eb25f23f3409f74a4d84713a02c4f..f21e9a76ff67e526024c83ad51c418026cc2f8ff 100644 (file)
@@ -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"