SYS_FUNC macro fix for musl
nsz at port70.net
Tue Dec 15 11:02:31 UTC 2015
* Dmitry V. Levin <ldv at altlinux.org> [2015-12-15 00:35:56 +0300]:
> On Mon, Dec 14, 2015 at 09:05:50PM +0100, Szabolcs Nagy wrote:
> > --- a/linux/ia64/syscallent.h
> > +++ b/linux/ia64/syscallent.h
> > @@ -31,10 +31,10 @@
> > * with 64-bit layout get redirected to printargs.
> > */
> > #undef SYS_FUNC_NAME
> > -#define SYS_FUNC_NAME(syscall_name) printargs
> > +#define SYS_FUNC_NAME(syscall_name) sys_printargs
> You don't need this, sys_printargs is a macro defined to printargs.
i haven't tested it on ia64, but it seemed to me
that redirecting sys_* to sys_printargs for i386
syscalls was intentional.
More information about the Strace-devel