https://bugs.kde.org/show_bug.cgi?id=501365

--- Comment #10 from Paul Floyd <pjfl...@wanadoo.fr> ---
(In reply to mcermak from comment #9)
> > Yes please, this code is simple enough
> 
> Mark, is it really only about "hooking" the existing PRE() and POST() up? 
> I've noticed that for instance i386 passes sycall params via stack (as
> opposed to amd64 where this gets passed via regs).  The existing PRE()
> relies on register parameter passing.  Not sure about other arches. 
> Thoughts?

Marshalling syscall args to/from registers/stack from/to the syscall is handled
elsewhere.

The only issue the sometimes arises is the case where a 32bit OS syscall has a
64bit argument. In that case a separate syscall wrapper is needed because the
64bit arguemnt will get split into two 32 bit ones. As an example take a look
at fallocate.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to