19 Oct
2009
19 Oct
'09
2:26 a.m.
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.