Re: [PATCH 00/23] tracehook

David Miller
2008-07-21T15:18:55Z

From: Roland McGrath <roland@redhat.com>
Date: Mon, 21 Jul 2008 03:54:31 -0700 (PDT)

> > The other arch's with compat support will have this same exact issue.
>
> They don't seem to.

Look at S390 and PowerPC, they do the sign extension cases as well.

PowerPC does it with C level stubs, whereas I believe S390 uses a
similar assembler stub scheme as sparc64.

But you are right, this is probably not an issue, and providing 32-bit
truncated incoming args, and letting the tracer do whatever it likes
for outgoing args, should work just fine.