Re: [PATCH v7 0/7] Syscall User Dispatch
From: Gabriel Krisman Bertazi
Date: Wed Nov 18 2020 - 12:01:45 EST
Florian Weimer <fw@xxxxxxxxxxxxx> writes:
> * Gabriel Krisman Bertazi:
>
>> This is the v7 of syscall user dispatch. This version is a bit
>> different from v6 on the following points, after the modifications
>> requested on that submission.
>
> Is this supposed to work with existing (Linux) libcs, or do you bring
> your own low-level run-time libraries?
Hi Florian,
The main use case is to intercept Windows system calls of an application
running over Wine. While Wine is using an unmodified glibc to execute
its own native Linux syscalls, the Windows libraries might be directly
issuing syscalls that we need to capture. So there is a mix. While this
mechanism is compatible with existing libc, we might have other
libraries executing a syscall instruction directly.
--
Gabriel Krisman Bertazi