Re: [PATCH 00/23] tracehook

From: David Miller
Date: Fri Jul 18 2008 - 07:32:37 EST


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

> David Miller <davem@xxxxxxxxxxxxx> 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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/