diff options
author | Eric Biggers <ebiggers@google.com> | 2017-03-08 19:27:04 -0500 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-03-10 12:43:46 -0500 |
commit | 5c2a625937ba49bc691089370638223d310cda9a (patch) | |
tree | 8938932fa798064e770b31a285bce3f6c06aac64 | |
parent | b0de0ccc8b9edd8846828e0ecdc35deacdf186b0 (diff) |
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 <ebiggers@google.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
-rw-r--r-- | arch/arm64/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
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 | |||
1063 | def_bool y | 1063 | def_bool y |
1064 | depends on COMPAT && SYSVIPC | 1064 | depends on COMPAT && SYSVIPC |
1065 | 1065 | ||
1066 | config KEYS_COMPAT | ||
1067 | def_bool y | ||
1068 | depends on COMPAT && KEYS | ||
1069 | |||
1066 | endmenu | 1070 | endmenu |
1067 | 1071 | ||
1068 | menu "Power management options" | 1072 | menu "Power management options" |