lkml.org 
[lkml]   [2004]   [Dec]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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]
\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.262 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site