Processes and mmap

Georgi Chulkov g.chulkov at jacobs-university.de
Fri Jul 4 10:26:17 EST 2008


Hello again,

I have noticed that when a connection is made to the main sshd process, it 
first forks, and then execv()s itself, thur restarting itself completely. 
What is the reason for the execv()?

My other concern is that I would like to have some global state inherited from 
the main sshd process to all forked processes, which is however sensitive 
data. Is it safe to pass it as a command-line argument during the execv() 
call?

Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20080704/9b439588/attachment.bin 


More information about the openssh-unix-dev mailing list