From: Carsten Haitzler carsten.haitzler@foss.arm.com
Move unsigned long to uintptr_t for userspace ABI for purecap to work.
Dependent on patch series:
Author: Vincenzo Frascino vincenzo.frascino@arm.com Subject: [linux-morello] [PATCH v2 0/5] morello: Enable docker by default
Signed-off-by: Carsten Haitzler carsten.haitzler@foss.arm.com --- security/keys/keyctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/security/keys/keyctl.c b/security/keys/keyctl.c index 96a92a645216..104fc313691d 100644 --- a/security/keys/keyctl.c +++ b/security/keys/keyctl.c @@ -1866,8 +1866,8 @@ long keyctl_capabilities(unsigned char __user *_buffer, size_t buflen) /* * The key control system call */ -SYSCALL_DEFINE5(keyctl, int, option, unsigned long, arg2, unsigned long, arg3, - unsigned long, arg4, unsigned long, arg5) +SYSCALL_DEFINE5(keyctl, int, option, uintptr_t, arg2, uintptr_t, arg3, + uintptr_t, arg4, uintptr_t, arg5) { switch (option) { case KEYCTL_GET_KEYRING_ID: