blob: 9d9f16cee6c4d2e45fa401133cfd3bb7ed663048 [file] [log] [blame]
William A. Kennington IIIac69b482021-06-02 12:28:27 -07001From 40732d03990632049d5ba63dd736269a81756b16 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 19 May 2021 00:30:05 -0700
4Subject: [PATCH] riscv: Rename __NR_fstatat __NR_newfstatat
5
6on riscv64 this syscall is called __NR_newfstatat
7this helps the name match kernel UAPI for external
8programs
9
10Upstream-Status: Submitted [https://www.openwall.com/lists/musl/2021/05/19/3]
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12Cc: zabolcs Nagy <nsz@port70.net>
13---
14 arch/riscv64/bits/syscall.h.in | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/arch/riscv64/bits/syscall.h.in b/arch/riscv64/bits/syscall.h.in
18index f9c421d0..39c0d650 100644
19--- a/arch/riscv64/bits/syscall.h.in
20+++ b/arch/riscv64/bits/syscall.h.in
21@@ -76,7 +76,7 @@
22 #define __NR_splice 76
23 #define __NR_tee 77
24 #define __NR_readlinkat 78
25-#define __NR_fstatat 79
26+#define __NR_newfstatat 79
27 #define __NR_fstat 80
28 #define __NR_sync 81
29 #define __NR_fsync 82
30--
312.31.1
32