From: Carsten Haitzler carsten.haitzler@foss.arm.com
Signed-off-by: Carsten Haitzler carsten.haitzler@foss.arm.com --- include/lapi/keyctl.h | 10 +++++----- runtest/morello_transitional_extended | 10 ++++++++++ 2 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/include/lapi/keyctl.h b/include/lapi/keyctl.h index 3be782494..9c847a429 100644 --- a/include/lapi/keyctl.h +++ b/include/lapi/keyctl.h @@ -42,13 +42,13 @@ static inline key_serial_t request_key(const char *type, static inline long keyctl(int cmd, ...) { va_list va; - unsigned long arg2, arg3, arg4, arg5; + uintptr_t arg2, arg3, arg4, arg5;
va_start(va, cmd); - arg2 = va_arg(va, unsigned long); - arg3 = va_arg(va, unsigned long); - arg4 = va_arg(va, unsigned long); - arg5 = va_arg(va, unsigned long); + arg2 = va_arg(va, uintptr_t); + arg3 = va_arg(va, uintptr_t); + arg4 = va_arg(va, uintptr_t); + arg5 = va_arg(va, uintptr_t); va_end(va);
return tst_syscall(__NR_keyctl, cmd, arg2, arg3, arg4, arg5); diff --git a/runtest/morello_transitional_extended b/runtest/morello_transitional_extended index a31f0884c..d16564628 100644 --- a/runtest/morello_transitional_extended +++ b/runtest/morello_transitional_extended @@ -17,3 +17,13 @@ semget06 semget06 semop01 semop01 semop02 semop02 semop03 semop03 + +keyctl01 keyctl01 +keyctl02 keyctl02 +keyctl03 keyctl03 +keyctl04 keyctl04 +keyctl05 keyctl05 +keyctl06 keyctl06 +keyctl07 keyctl07 +keyctl08 keyctl08 +keyctl09 keyctl09
On 14/09/2022 12:28, carsten.haitzler@foss.arm.com wrote:
From: Carsten Haitzler carsten.haitzler@foss.arm.com
Signed-off-by: Carsten Haitzler carsten.haitzler@foss.arm.com
include/lapi/keyctl.h | 10 +++++----- runtest/morello_transitional_extended | 10 ++++++++++ 2 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/include/lapi/keyctl.h b/include/lapi/keyctl.h index 3be782494..9c847a429 100644 --- a/include/lapi/keyctl.h +++ b/include/lapi/keyctl.h @@ -42,13 +42,13 @@ static inline key_serial_t request_key(const char *type, static inline long keyctl(int cmd, ...) { va_list va;
- unsigned long arg2, arg3, arg4, arg5;
- uintptr_t arg2, arg3, arg4, arg5;
va_start(va, cmd);
- arg2 = va_arg(va, unsigned long);
- arg3 = va_arg(va, unsigned long);
- arg4 = va_arg(va, unsigned long);
- arg5 = va_arg(va, unsigned long);
- arg2 = va_arg(va, uintptr_t);
- arg3 = va_arg(va, uintptr_t);
- arg4 = va_arg(va, uintptr_t);
- arg5 = va_arg(va, uintptr_t);
Any conclusion on this being a separate patch?
va_end(va); return tst_syscall(__NR_keyctl, cmd, arg2, arg3, arg4, arg5); diff --git a/runtest/morello_transitional_extended b/runtest/morello_transitional_extended index a31f0884c..d16564628 100644 --- a/runtest/morello_transitional_extended +++ b/runtest/morello_transitional_extended @@ -17,3 +17,13 @@ semget06 semget06 semop01 semop01 semop02 semop02 semop03 semop03
+keyctl01 keyctl01 +keyctl02 keyctl02 +keyctl03 keyctl03 +keyctl04 keyctl04 +keyctl05 keyctl05 +keyctl06 keyctl06 +keyctl07 keyctl07 +keyctl08 keyctl08 +keyctl09 keyctl09
Just realised, we should keep tests in alphabetical order, like in the other runtest files. You should probably rebsae on the latest next as well.
Kevin
linux-morello-ltp@op-lists.linaro.org