From: Arun C Murthy <acmurthy@gmail.com>
To: Jan Engelhardt <jengelh@linux01.gwdg.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: at_fork & at_exit
Date: Sat, 25 Dec 2004 01:35:27 +0530 [thread overview]
Message-ID: <41CC7687.2010405@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0412211544430.22006@yvahk01.tjqt.qr>
[-- Attachment #1: Type: text/plain, Size: 426 bytes --]
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
[-- Attachment #2: atforkexit.patch.tar.gz --]
[-- Type: application/gzip, Size: 1937 bytes --]
next prev parent reply other threads:[~2004-12-24 20:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-21 14:40 at_fork & at_exit Arun C Murthy
2004-12-21 14:46 ` Jan Engelhardt
2004-12-24 20:05 ` Arun C Murthy [this message]
2004-12-21 20:57 ` Rik van Riel
2004-12-21 20:59 ` Shankar Unni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41CC7687.2010405@gmail.com \
--to=acmurthy@gmail.com \
--cc=jengelh@linux01.gwdg.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.