Date: Wed, 17 Sep 2008 13:07:37 +0400 From: Andrey Chernov <ache@nagual.pp.ru> To: Poul-Henning Kamp <phk@phk.freebsd.dk>, Daniel Eischen <deischen@freebsd.org>, Max Laier <max@love2party.net>, freebsd-current@freebsd.org Subject: Re: Is fork() hook ever possible? Message-ID: <20080917090737.GD57480@nagual.pp.ru> In-Reply-To: <20080917090101.GC57480@nagual.pp.ru> References: <20080917075513.GB55535@nagual.pp.ru> <89506.1221638697@critter.freebsd.dk> <20080917090101.GC57480@nagual.pp.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 17, 2008 at 01:01:01PM +0400, Andrey Chernov wrote: > > The solution however, is simple: Just have these hidden library calls > > to arc4random call a wrapper function that does the pid check. > > We can control our own arc4random() internal calls inside our own libs in > such way but can't control 3rd party libs or programs arc4random() calls > (consider ports). There is no special mentions of pid check needed in > arc4random() general API, so 3rd party code will tends to not come to that > matter. Moreover, in the light of OpenBSD move checking pid, 3rd party code oriented on OpenBSD will not do so definitely. -- http://ache.pp.ru/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080917090737.GD57480>