Re: [PATCH 00/23] tracehook

David Miller
2008-07-18T11:32:36Z

From: Andi Kleen <andi@firstfloor.org>
Date: Fri, 18 Jul 2008 13:24:33 +0200

> David Miller <davem@davemloft.net> writes:
> >
> > The other arch's with compat support will have this same exact issue.
>
> On x86-64 the sign extension is in C code, so it would be somewhat more
> complicated to do a generic table or converter.

I was suggesting to use the list of syscalls in the sparc64 code
in a generic spot, making a table indexed by __NR_* number
that the tracehook syscall stuff can use.

But yes, there are other issues such as datastructure layout.

It all depends upon what Roland thinks those arg values obtained by
the asm/syscall.h functions should mean.