Re: [PATCH 00/23] tracehook

From: David Miller
Date: Mon Jul 21 2008 - 11:18:56 EST


From: Roland McGrath <roland@xxxxxxxxxx>
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.
--
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/