Sunday, 6 February 2011

dtrace 64/32 problem

My previous posting showed that 32b syscalls on 64b kernels was working.
Alas, a little too premature. I have to resolve an aliasing problem
where the same code is used for both 32b and 64b processes, yet
my code isnt distinguishing the context we are called in.

This means that

$ dtrace -n systrace:x32::

doesnt work as I expect, but worse, we may misrepresent the syscall
for a 64b app, since the syscall numbers dont align between the 32 and 64 bit
callback table.

Post created by CRiSP v10.0.3a-b5937

No comments:

Post a Comment