Messages in this thread | | | Date | Sat, 25 Dec 2004 01:35:27 +0530 | From | Arun C Murthy <> | Subject | Re: at_fork & at_exit |
| |
Jan Engelhardt wrote:
>>Hi, >> >>Im looking for linux equivalent of the FreeBSD calls: >> >>1. at_fork >>2. at_exit >> >> >I do not see such a hook in the kernel source tree, so adding your own seems >to only way. >The places are in kernel/fork.c:copy_process() and >kernel/exit.c:__unhash_process > > here's patches if someone else is interested... pls let me know if there are any improvements possible...
Arun [unhandled content-type:application/gzip] | |