[LTP] [PATCH] kernel/include/aarch64.in: Fix incorrect numbers for kcmp and getrandom

Peter Maydell peter.maydell@linaro.org
Thu Jul 21 16:14:29 CEST 2016


The syscall numbers listed for kcmp and getrandom for aarch64 seem
to have been incorrectly copied from 32-bit ARM. 64-bit ARM uses
the generic syscall numbers, which are 272 and 278.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
Without this patch the getrandom testcases will TCONF rather than passing.

 testcases/kernel/include/aarch64.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testcases/kernel/include/aarch64.in b/testcases/kernel/include/aarch64.in
index 28b741d..cb3fe06 100644
--- a/testcases/kernel/include/aarch64.in
+++ b/testcases/kernel/include/aarch64.in
@@ -253,5 +253,5 @@ clock_adjtime 266
 syncfs 267
 setns 268
 sendmmsg 269
-kcmp 378
-getrandom 384
+kcmp 272
+getrandom 278
-- 
1.9.1



More information about the ltp mailing list