strace/linux
Szabolcs Nagy 34683e3926 Fix SYS_FUNC and SEN macros for musl
The syscall_name argument was subject to macro expansion because
it was passed down to other macros before it was prefixed.

musl libc defines lfs64 names as macros (e.g. fstat64 as fstat)
so SYS_FUNC(fstat64) was expanded to sys_fstat.

This change adds the prefix before the name is passed to other macros,
i.e. the argument of SYS_FUNC_NAME is already prefixed with sys_.

* defs.h (SYS_FUNC): Add sys_ prefix to SYS_FUNC_NAME's argument.
(SYS_FUNC_NAME): Do not add sys_ prefix to MPERS_FUNC_NAME's argument.
* linux/ia64/syscallent.h (SYS_FUNC_NAME): Do not add sys_ prefix
to MPERS_FUNC_NAME's argument.
* syscall.c (SEN_NAME): Remove.
(SEN): Replace SEN_NAME call with its definition.  Add sys_ prefix
to SYS_FUNC_NAME's argument.
2015-12-16 00:06:59 +00:00
..
32 fcntl: create a separate parser for fcntl64 syscall 2015-12-04 23:12:14 +00:00
64 Wire up userfaultfd, membarrier, and mlock2 syscalls 2015-11-17 00:39:49 +00:00
aarch64 aarch64: make arm registers unsigned 2015-12-11 10:52:42 +00:00
alpha alpha: update syscall entries 2015-12-08 21:19:53 +00:00
arc Cleanup print_pc 2015-11-30 03:30:51 +00:00
arm aarch64: swap 64-bit and 32-bit personalities 2015-12-09 01:09:11 +00:00
avr32 avr32: update syscall entries 2015-12-08 21:19:53 +00:00
bfin Fix mmap syscall entries 2015-12-08 21:19:43 +00:00
crisv10 Cleanup print_pc 2015-11-30 03:30:51 +00:00
crisv32 Cleanup print_pc 2015-11-30 03:30:51 +00:00
hppa hppa: fix syscall entries 2015-12-08 21:19:53 +00:00
i386 Fix mmap syscall entries 2015-12-08 21:19:43 +00:00
ia64 Fix SYS_FUNC and SEN macros for musl 2015-12-16 00:06:59 +00:00
m68k m68k: fix syscall names 2015-12-08 21:19:53 +00:00
metag Cleanup print_pc 2015-11-30 03:30:51 +00:00
microblaze Fix mmap syscall entries 2015-12-08 21:19:43 +00:00
mips mips: fix fadvise64 syscall entries 2015-12-08 22:35:26 +00:00
nios2 Cleanup print_pc 2015-11-30 03:30:51 +00:00
or1k Cleanup print_pc 2015-11-30 03:30:51 +00:00
powerpc powerpc, powerpc64: wire up mlock2 syscall 2015-12-08 21:19:53 +00:00
powerpc64 powerpc, powerpc64: wire up mlock2 syscall 2015-12-08 21:19:53 +00:00
s390 Fix select and _newselect syscall entries 2015-12-08 21:19:40 +00:00
s390x Cleanup print_pc 2015-11-30 03:30:51 +00:00
sh sh, sh64: fix syscall entries 2015-12-08 21:19:53 +00:00
sh64 sh, sh64: fix syscall entries 2015-12-08 21:19:53 +00:00
sparc sparc: update syscall names 2015-12-08 21:19:53 +00:00
sparc64 Cleanup print_pc 2015-11-30 03:30:51 +00:00
tile Cleanup print_pc 2015-11-30 03:30:51 +00:00
x32 Fix exit syscall entries 2015-12-08 21:19:35 +00:00
x86_64 Fix exit syscall entries 2015-12-08 21:19:35 +00:00
xtensa xtensa: wire up syncfs syscall 2015-12-08 21:19:53 +00:00
arch_regs.h Move regs-related macros and declarations from defs.h to regs.h 2015-02-13 18:28:08 +00:00
arch_sigreturn.c Fix build on architectures for which arch_sigreturn is not implemented 2015-12-09 11:46:43 +00:00
asm_stat.h Add a wrapper around <asm/stat.h> 2015-12-04 15:03:12 +00:00
dummy_check.sh Remove stray sys_swapon() declaration 2012-02-28 16:39:44 +01:00
dummy.h Remove parsers of getpmsg and putpmsg syscalls 2015-11-24 02:42:38 +00:00
errnoent.h Change errnoent.h files to use designated initializers 2015-02-23 13:29:17 +00:00
inet_diag.h Add -yy option: print ip and port associated with socket descriptors 2014-09-17 20:03:38 +00:00
mtd-abi.h Whitespace fix, no code changes 2013-02-14 13:39:53 +01:00
personality.h Use prepared editions of recently imported linux headers 2014-02-05 12:56:26 +00:00
ptp_clock.h Decode ptp ioctls 2014-02-04 00:03:08 +00:00
signalent.h Regenerated 2001-08-03 21:51:48 +00:00
sock_diag.h Add -yy option: print ip and port associated with socket descriptors 2014-09-17 20:03:38 +00:00
subcall.h Introduce SEN macro 2015-07-12 22:31:40 +00:00
syscall.h Add unique syscall entry numbers (SENs) 2015-07-12 22:31:49 +00:00
ubi-user.h Use macros for gcc attributes 2015-03-30 00:33:06 +00:00
unix_diag.h Support unix domain sockets in -yy option 2014-12-25 01:00:48 +00:00
userent0.h process.c: split struct_user_offsets into architecture-specific include files 2014-12-11 19:25:02 +00:00
userent.h process.c: split struct_user_offsets into architecture-specific include files 2014-12-11 19:25:02 +00:00