Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210519073403.2213823-1-raj.khem@gmail.com>
Date: Wed, 19 May 2021 00:34:03 -0700
From: Khem Raj <raj.khem@...il.com>
To: musl@...ts.openwall.com
Cc: Khem Raj <raj.khem@...il.com>,
	zabolcs Nagy <nsz@...t70.net>
Subject: [PATCH] riscv: Rename __NR_fstatat __NR_newfstatat

on riscv64 this syscall is called __NR_newfstatat
this helps the name match kernel UAPI for external
programs

Signed-off-by: Khem Raj <raj.khem@...il.com>
Cc: zabolcs Nagy <nsz@...t70.net>
---
 arch/riscv64/bits/syscall.h.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/riscv64/bits/syscall.h.in b/arch/riscv64/bits/syscall.h.in
index f9c421d0..39c0d650 100644
--- a/arch/riscv64/bits/syscall.h.in
+++ b/arch/riscv64/bits/syscall.h.in
@@ -76,7 +76,7 @@
 #define __NR_splice 76
 #define __NR_tee 77
 #define __NR_readlinkat 78
-#define __NR_fstatat 79
+#define __NR_newfstatat 79
 #define __NR_fstat 80
 #define __NR_sync 81
 #define __NR_fsync 82
-- 
2.31.1

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.