FR-V PLT audit

Richard Henderson rth@twiddle.net
Thu Feb 10 16:51:00 GMT 2005


On Thu, Feb 10, 2005 at 01:03:22AM -0800, Roland McGrath wrote:
> That's not the concern.  The concern is that one could try to compile an
> audit library on a different platform and have it seem like it's ok because
> the signature happens to match, but in fact the audit library's
> pltenter/pltexit functions have not been ported properly to the machine you
> are compiling for.  Since those implementations are always
> machine-specific, having the API distinguish the machine in the names makes
> sure you have considered the target machine specifically.

Given that any non-trivial audit library will be looking at the 
arguments, and the structure member names are different for each
platform, what do you think the odds are that the library will
compile when configured incorrectly?

I'm thinking pretty low, myself.


r~



More information about the Libc-hacker mailing list