Is fork() hook ever possible?

Poul-Henning Kamp phk at phk.freebsd.dk
Wed Sep 17 09:34:14 UTC 2008


In message <20080917093238.GA59500 at nagual.pp.ru>, Andrey Chernov writes:
>On Wed, Sep 17, 2008 at 09:24:01AM +0000, Poul-Henning Kamp wrote:

>> Just have the FreeBSD library calls, call the wrapper function that
>> does a pid check and be done with it.
>
>I understand your idea and it was first idea that comes to me too, but 
>since API is not ours, it does not work that way.

Well, in that case, you should leave the "slow" check in place and
live with it.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-current mailing list