Re: Is fork() hook ever possible?
- From: Andrey Chernov <ache@xxxxxxxxxxxx>
- Date: Tue, 16 Sep 2008 23:33:47 +0400
On Tue, Sep 16, 2008 at 01:21:37PM -0400, Daniel Eischen wrote:
Could you add a new interface, arc4random_setstir() or something,
to set a flag that indicates a stir should be done at the next
opportunity?
That was my original idea - to set the flag variable (not a new inteface)
in the fork() wrapper which arc4random() will check later. I'll think
about, what is better: getpid() speedup looks like more general solution
for all similar cases while the flag will be for arc4random() only.
--
http://ache.pp.ru/
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Is fork() hook ever possible?
- From: Poul-Henning Kamp
- Re: Is fork() hook ever possible?
- References:
- Is fork() hook ever possible?
- From: Andrey Chernov
- Re: Is fork() hook ever possible?
- From: Max Laier
- Re: Is fork() hook ever possible?
- From: Andrey Chernov
- Re: Is fork() hook ever possible?
- From: Daniel Eischen
- Is fork() hook ever possible?
- Prev by Date: Re: sio => uart: one port is gone
- Next by Date: Re: Is fork() hook ever possible?
- Previous by thread: Re: Is fork() hook ever possible?
- Next by thread: Re: Is fork() hook ever possible?
- Index(es):
Relevant Pages
|