]> git.itanic.dy.fi Git - linux-stable/commit
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)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 11 Jan 2020 02:04:58 +0000 (02:04 +0000)
commit546383d4dae597b45f76610be2c54909f38fea9e
tree97a4491e57a7235a9a4834468aff51d4696a08fb
parent73530724b2c54dc12ea420e51527f50705c4d8e7
arm64: support keyctl() system call in 32-bit mode

commit 5c2a625937ba49bc691089370638223d310cda9a upstream.

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>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/arm64/Kconfig