projects
/
musl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d8cb888
)
riscv: rename __NR_fstatat __NR_newfstatat
author
Khem Raj
<raj.khem@gmail.com>
Wed, 19 May 2021 07:34:03 +0000
(
00:34
-0700)
committer
Rich Felker
<dalias@aerifal.cx>
Sat, 5 Jun 2021 15:47:16 +0000
(11:47 -0400)
on riscv64 this syscall is called __NR_newfstatat
this helps the name match kernel UAPI for external
programs
arch/riscv64/bits/syscall.h.in
patch
|
blob
|
history
diff --git
a/arch/riscv64/bits/syscall.h.in
b/arch/riscv64/bits/syscall.h.in
index
f9c421d
..
39c0d65
100644
(file)
--- 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_splice 76
#define __NR_tee 77
#define __NR_readlinkat 78
-#define __NR_fstatat 79
+#define __NR_
new
fstatat 79
#define __NR_fstat 80
#define __NR_sync 81
#define __NR_fsync 82
#define __NR_fstat 80
#define __NR_sync 81
#define __NR_fsync 82