diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.com> | 2015-10-17 16:56:27 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2015-12-17 18:16:59 -0200 |
commit | fc48bfbc796e3825b6048df9146ce91c0baec0c8 (patch) | |
tree | 56c6a81e4e88e8bd6764fdaa4cc6f3d13d28928e /sysdeps/unix/sysv/linux/ifaddrs.c | |
parent | 8ead7a9b94a085e6fba69b8b22e2ba0e2677f0d5 (diff) | |
download | glibc-fc48bfbc796e3825b6048df9146ce91c0baec0c8.tar.gz glibc-fc48bfbc796e3825b6048df9146ce91c0baec0c8.tar.xz glibc-fc48bfbc796e3825b6048df9146ce91c0baec0c8.zip |
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/ifaddrs.c')
0 files changed, 0 insertions, 0 deletions