David, 

> > Agreed.  If any object in shared memory contained a pointer to
another
> > object in shared memory this could cause a problem.  You would have
to
> > ensure that the shared memory was mapped to the same address in all
> > processes otherwise the pointers would not be valid.
> Since he's talking about a process that forks, there 
> shouldn't be a problem.
> He just needs to create a shared mapping in the parent. After 
> the 'fork', the address will still be the same.

However if the program forks and calls exec* then this issue could
arise.  The title of the thread suggests this ;-)

Cheers,
Mark
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to