Skip to contentSkip to conversation

kernel/include/aarch64.in: Fix incorrect numbers for kcmp and getrandom

PATCH New Peter Maydell 2 participants 2 messages Jul 21, 2016 – Jul 22, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel/include/aarch64.in: Fix incorrect numbers for kcmp and getrandom

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.

---
Without this patch the getrandom testcases will TCONF rather than passing.

 testcases/kernel/include/aarch64.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
testcases/kernel/include/aarch64.in +2 -2
index 28b741d..cb3fe06 100644
@@ -253,5 +253,5 @@ clock_adjtime 266
 syncfs 267
 setns 268
 sendmmsg 269
-kcmp 378
-getrandom 384
+kcmp 272
+getrandom 278
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 kernel/include/aarch64.in: Fix incorrect numbers for kcmp and getrandom

----- Original Message -----

Quoted 11 lines

From: "Peter Maydell" <[email protected]>
To: [email protected]
Cc: [email protected]
Sent: Thursday, 21 July, 2016 4:14:29 PM
Subject: [LTP] [PATCH] kernel/include/aarch64.in: Fix incorrect numbers for kcmp and getrandom

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.

Pushed.

Thanks,
Jan