https://bugzilla.novell.com/show_bug.cgi?id=359216 User thoenig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=359216#c9 --- Comment #9 from Timo Hoenig <thoenig@novell.com> 2008-02-07 08:45:02 MST --- Sorry for the not posting updates, I'm busy preparing a talk for next Tuesday. Page 30ff. of http://nouse.net/talks/thinkfinger-fosdem-2007-thoenig.pdf shows why we need two threads. We're stuck in the application using PAM after calling pam_prompt. Due to the sorrowful design of PAM there is no other way to get back into the PAM module than by waiting for the 'real' carriage return or the 'fake' sent by the second thread after the swipe. That's how is is supposed to work. To decide on mistakes in the mutual cleanup of the threads I'd have to look at the code. I can recall that I discussed signal handlers with Ludwig, but our conclusion was not to use them as this brings pain to login managers. I implemented everything with signals before the current design which -- for a reason I can not recall -- cause problems in specific scenarios. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.