glibc/sysdeps/unix
Adhemerval Zanella fc48bfbc79 Fix SYSCALL_CANCEL for empty argumetns
This patch fixes the SYSCALL_CANCEL macro for usage with zero argument
number (for instance SYSCALL_CANCEL (pause)) using a similar approach
used for SOCKETCALL_CANCEL.

GLIBC build still does not hit this issue still since SYSCALL_CANCEL
is not currently being used for zero arguments calls.

Tested on i386, x86_64, powerpc64le, aarch64.

	* sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
	syscalls.
	(__SYSCALL0): New macro.
	(__SYSCALL1): Likewise.
	(__SYSCALL2): Likewise.
	(__SYSCALL3): Likewise.
	(__SYSCALL4): Likewise.
	(__SYSCALL5): Likewise.
	(__SYSCALL6): Likewise.
	(__SYSCALL7): Likewise.
	(__SYSCALL_CONCAT_X): Likewise.
	(__SYSCALL_CONCAT): Likewise.
	(__SYSCALL_DIST): Likewise.
	(__SYSCALL_CALL): Likewise.
2015-12-17 18:16:59 -02:00
..
alpha alpha: Unconditionally include dl-sysdep.h in sysdep.h 2015-04-06 10:36:44 -07:00
arm
bsd Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
i386
inet
mips MIPS: Only use .set mips* assembler directives when necessary 2015-09-08 16:52:43 +01:00
powerpc
sh
sysv/linux Provide x32 times 2015-12-17 11:47:06 -08:00
x86_64
clock_gettime.c
clock_nanosleep.c
clock_settime.c
confstr.h
get_child_max.c
getlogin_r.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
getlogin.c
getpagesize.c
grantpt.c grantpt: trust the kernel about pty group and permission mode 2015-12-10 22:33:10 +01:00
ifreq.c
Implies
make-syscalls.sh Make obsolete syscall wrappers into compat symbols (bug 18472). 2015-12-14 22:52:15 +00:00
Makefile Make obsolete syscall wrappers into compat symbols (bug 18472). 2015-12-14 22:52:15 +00:00
s-proto-cancel.S
s-proto.S
setxid.h
sockatmark.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
stime.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
syscall-template.S Create hidden aliases for non-libc syscalls automatically. 2015-06-17 20:17:49 +00:00
syscall.S
syscalls.list Fix nice getpriority, setpriority namespace (bug 18553). 2015-06-17 20:22:39 +00:00
sysdep.h Fix SYSCALL_CANCEL for empty argumetns 2015-12-17 18:16:59 -02:00