Processes and mmap
Georgi Chulkov
g.chulkov at jacobs-university.de
Wed Jul 2 04:42:45 EST 2008
Hello,
For a key exchange algorithm I'm working on, I would like to keep a little bit
of shared state between the main server process and the processes that
clients connect to. So far, I'm considering mmap for the purpose.
But I cannot figure out where I need to put the mmap initialization call,
where it would be called at server startup (before any fork()s/exec()s), and
never again.
Could someone please briefly explain how OpenSSH manages its various
processes - such as when processes are created and where in the code that
happens?
Thanks in advance!
Georgi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20080701/ec34b470/attachment.bin
More information about the openssh-unix-dev
mailing list