Re: Portable syscall inspection

From: Trent Waddington
Date: Thu May 31 2007 - 06:27:24 EST


On 5/29/07, Ralf Baechle <ralf@xxxxxxxxxxxxxx> wrote:
Also consider that some architectures pass parts of the arguments in
registers which on yet others are passed in memory. Sometimes padding
arguments are needed and many more oddities. Similar for results.
Inescapably such a program is a perment maintenance nightmare.

Yes, I see. This nightmare appears to be the burden of the strace
people, god bless them. I'm looking at moving their plethora of
#ifdefs into a library so others can be spared the nightmare.

Thanks,

Trent
-
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/