auth-pam.c, USE_POSIX_THREADS

Damien Miller djm at mindrot.org
Wed Oct 1 11:19:04 EST 2003


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




More information about the openssh-unix-dev mailing list