Re: How sshd manages globals

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On 2019/07/14 11:45, Nuno Gonçalves wrote:
> Hi,
> 
> I am looking for a small explanation of how some sshd code is architected.
> 
> sshd uses this 2 globals:
> 
> Authctxt *the_authctxt = NULL;
> struct sshauthopt *auth_opts = NULL;
> 
> Since sshd can have several simultaneous unauthenticated connections
> each on their own thread, how can this globals handle concurrency?
> 
> I appreciate any help to understand this.

OpenSSH does not use threads, it forks a new process.

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux