Skip to content

Commit

Permalink
arm64: support keyctl() system call in 32-bit mode
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ebiggers authored and wildea01 committed Mar 10, 2017
1 parent b0de0cc commit 5c2a625
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5c2a625

Please sign in to comment.