Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2006 16:49:53 +0300
From:      Mykola Stryebkov <mykola.stryebkov@gmail.com>
To:        hackers@freebsd.org
Subject:   fork inside ip_input
Message-ID:  <20060714134953.GA2404@taran.infoua.com.ua>

next in thread | raw e-mail | index | archive | help
Hi all.

Have a strange question: is it possible to create new process (using
fork or fork1) from inside of ip_input()?

In kernel sources i found example of using fork1 in init_main.c but
looking into ip_input.c i do not understand where i can get pointers to
a thread and parent process to pass it into fork1.

-- 
Nick Strebkov
Public key: http://humgat.org/~nick/pubkey.txt
fpr: 552C 88D6 895B 6E64 F277 D367 8A70 8132 47F5 C1B6



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060714134953.GA2404>