projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update syscalls with off_t arguments to handle argument alignment, if needed
[musl]
/
arch
/
x86_64
/
bits
/
syscall.h
diff --git
a/arch/x86_64/bits/syscall.h
b/arch/x86_64/bits/syscall.h
index
d18edec
..
5eeb8a6
100644
(file)
--- a/
arch/x86_64/bits/syscall.h
+++ b/
arch/x86_64/bits/syscall.h
@@
-1,4
+1,5
@@
-#define __SYSCALL_LL(x) (x)
+#define __SYSCALL_LL_E(x) (x)
+#define __SYSCALL_LL_O(x) (x)
static inline long __syscall0(long __n)
{
static inline long __syscall0(long __n)
{
@@
-60,7
+61,8
@@
static inline long __syscall6(long __n, long __a1, long __a2, long __a3, long __
return __ret;
}
return __ret;
}
-#define __socketcall(nm, a, b, c, d, e, f) syscall(__NR_##nm, a, b, c, d, e, f)
+#define __socketcall(nm,a,b,c,d,e,f) syscall(__NR_##nm, a, b, c, d, e, f)
+#define __socketcall_cp(nm,a,b,c,d,e,f) syscall_cp(__NR_##nm, a, b, c, d, e, f)
#define __NR_read 0
#define __NR_write 1
#define __NR_read 0
#define __NR_write 1
@@
-374,6
+376,7
@@
static inline long __syscall6(long __n, long __a1, long __a2, long __a3, long __
#define __NR_pread __NR_pread64
#define __NR_pwrite __NR_pwrite64
#define __NR_getdents __NR_getdents64
#define __NR_pread __NR_pread64
#define __NR_pwrite __NR_pwrite64
#define __NR_getdents __NR_getdents64
+#define __NR_fadvise __NR_fadvise64
@@
-691,5
+694,6
@@
static inline long __syscall6(long __n, long __a1, long __a2, long __a3, long __
#define SYS_pread SYS_pread64
#define SYS_pwrite SYS_pwrite64
#define SYS_getdents SYS_getdents64
#define SYS_pread SYS_pread64
#define SYS_pwrite SYS_pwrite64
#define SYS_getdents SYS_getdents64
+#define SYS_fadvise SYS_fadvise64