mark at heily.com
Sun Oct 18 19:26:34 PDT 2009
Paolo Bonzini wrote:
> On 09/28/2009 05:11 AM, Kevin Van Vechten wrote:
>> I might have to implement EVFILT_PROC using a helper thread.
> For NOTE_EXIT only you can use a SIGCHLD signalfd.
> For anything else you'd need to use ptrace, which is probably not a
> great idea...
Agreed. There really isn't a good way to emulate EVFILT_PROC under Linux. I
think the best solution would be to write a Linux kernel module to be a
"helper" for libkqueue to emulate EVFILT_PROC.
More information about the libdispatch-dev