SYS_FUNC macro fix for musl

Dmitry V. Levin ldv at altlinux.org
Tue Dec 15 11:59:32 UTC 2015


On Tue, Dec 15, 2015 at 12:02:31PM +0100, Szabolcs Nagy wrote:
> * 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.

Yes, the redirection itself is intentional, but there is no difference whether
it's printargs or sys_printargs.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20151215/70e6af8b/attachment.bin>


More information about the Strace-devel mailing list