Skip to contentSkip to conversation

arm64: support keyctl() system call in 32-bit mode

PATCH New Eric Biggers 1 participant 1 message Mar 9, 2017 arm64

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: support keyctl() system call in 32-bit mode

From: Eric Biggers <[email protected]>

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.

---
 arch/arm64/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm64/Kconfig +4 -0
index a39029b5414e..f21e9a76ff67 100644
@@ -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"
Signature · 1 line
2.12.0.246.ga2ecc84866-goog