OpenSSH 3.7.1p2 contains an #ifdef USE_POSIX_THREADS and simulates threads by processes if this is not defined. However, configure and config.h do not provide any means to define this. Is this already included for future releases but does not function properly if defined? Or could it be set manually in config.h and would work in Solaris?
AFAIK USE_POSIX_THREADS is considered experimental and is not recommended as it will run PAM in the privileged process. On Tue, Sep 30, 2003 at 10:13:44AM +0200, Hans Werner Strube wrote:> OpenSSH 3.7.1p2 contains an #ifdef USE_POSIX_THREADS and simulates threads > by processes if this is not defined. However, configure and config.h do not > provide any means to define this. Is this already included for future > releases but does not function properly if defined? Or could it be set > manually in config.h and would work in Solaris? > > _______________________________________________ > openssh-unix-dev mailing list > openssh-unix-dev at mindrot.org > http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
Hans Werner Strube wrote:> OpenSSH 3.7.1p2 contains an #ifdef USE_POSIX_THREADS and simulates threads > by processes if this is not defined. However, configure and config.h do not > provide any means to define this. Is this already included for future > releases but does not function properly if defined? Or could it be set > manually in config.h and would work in Solaris?I don't think we will be enabling USE_POSIX_THREADS in the PAM code anytime soon. Threads are a can or worms that I don't really want to open. I'd prefer to get the auth-pam.c authentication subprocess properly exporting any state that it creates back to the parent. E.g. see: http://bugzilla.mindrot.org/show_bug.cgi?id=717 -d