diff options
author | Szabolcs Nagy <nsz@port70.net> | 2017-02-18 00:50:09 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2017-09-06 19:29:25 -0400 |
commit | 822dddfbf1884553341114663aff56ed87d57663 (patch) | |
tree | c01368ab3a64bdec81f01dbd023cf0763f19818a /arch/powerpc | |
parent | 9255dad97e7bfd4165d1aa0f93f2aae321a7a4d8 (diff) | |
download | musl-822dddfbf1884553341114663aff56ed87d57663.tar.gz musl-822dddfbf1884553341114663aff56ed87d57663.tar.bz2 musl-822dddfbf1884553341114663aff56ed87d57663.tar.xz musl-822dddfbf1884553341114663aff56ed87d57663.zip |
make syscall.h consistent with linux
most of the found naming differences don't matter to musl, because
internally it unifies the syscall names that vary across targets,
but for external code the names should match the kernel uapi.
aarch64:
__NR_fstatat is called __NR_newfstatat in linux.
__NR_or1k_atomic got mistakenly copied from or1k.
arm:
__NR_arm_sync_file_range is an alias for __NR_sync_file_range2
__NR_fadvise64_64 is called __NR_arm_fadvise64_64 in linux,
the old non-arm name is kept too, it should not cause issues.
(powerpc has similar nonstandard fadvise and it uses the
normal name.)
i386:
__NR_madvise1 was removed from linux in commit
303395ac3bf3e2cb488435537d416bc840438fcb 2011-11-11
microblaze:
__NR_fadvise, __NR_fstatat, __NR_pread, __NR_pwrite
had different name in linux.
mips:
__NR_fadvise, __NR_fstatat, __NR_pread, __NR_pwrite, __NR_select
had different name in linux.
mipsn32:
__NR_fstatat is called __NR_newfstatat in linux.
or1k:
__NR__llseek is called __NR_llseek in linux.
the old name is kept too because that's the name musl uses
internally.
powerpc:
__NR_{get,set}res{gid,uid}32 was never present in powerpc linux.
__NR_timerfd was briefly defined in linux but then got renamed.
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/bits/syscall.h.in | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/bits/syscall.h.in b/arch/powerpc/bits/syscall.h.in index 9d022321..35f7033e 100644 --- a/arch/powerpc/bits/syscall.h.in +++ b/arch/powerpc/bits/syscall.h.in @@ -162,16 +162,12 @@ #define __NR_sched_rr_get_interval 161 #define __NR_nanosleep 162 #define __NR_mremap 163 -#define __NR_setresuid32 164 #define __NR_setresuid 164 -#define __NR_getresuid32 165 #define __NR_getresuid 165 #define __NR_query_module 166 #define __NR_poll 167 #define __NR_nfsservctl 168 -#define __NR_setresgid32 169 #define __NR_setresgid 169 -#define __NR_getresgid32 170 #define __NR_getresgid 170 #define __NR_prctl 171 #define __NR_rt_sigreturn 172 @@ -306,7 +302,6 @@ #define __NR_epoll_pwait 303 #define __NR_utimensat 304 #define __NR_signalfd 305 -#define __NR_timerfd 306 #define __NR_timerfd_create 306 #define __NR_eventfd 307 #define __NR_sync_file_range2 308 |