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