|
From: Nicholas N. <nj...@cs...> - 2006-09-20 22:01:00
|
On Wed, 20 Sep 2006, Josef Weidendorfer wrote: > There is a thread creation hook, but that is useless in this case. Or is > there a possibility to hook into a system call? Yes. See VG_(needs_syscall_wrapper) in include/pub_tool_tooliface.h. You should be able to compare the syscall_num against __NR_fork. If future OSes have fork() calls with different names, I'm not sure how best to handle it. Nick |