Problems with automatic pkcs11 reinit on fork

Stef Walter stefw at collabora.co.uk
Tue Dec 27 07:57:31 PST 2011


On 12/23/2011 10:21 PM, Nikos Mavrogiannopoulos wrote:
> On Fri, Dec 23, 2011 at 7:41 PM, Stef Walter <stefw at collabora.co.uk> wrote:
>> This means we cannot automatically reliably initialize after a fork on
>> the first PKCS#11 function that is incidentally called :(
> 
> Hi Stef,
>  I don't know if I  understand the issue correctly, but
> why is that a stopper? Couldn't p11-kit use some internal mutexes
> only for reinitialize on fork?

You're right of course. I shouldn't try to analyze these sorts of things
after Gluhwein :)

Cheers,

Stef


More information about the p11-glue mailing list