#45: Premature thread wake up on successful pam_authenticate call
-------------------+-------------------------------
Reporter: igleyy | Owner: pam-developers@…
Type: defect | Status: closed
Priority: major | Component: library
Version: | Resolution: invalid
Keywords: | Blocked By:
Blocking: |
-------------------+-------------------------------
Changes (by kukuk):
* resolution: => invalid
* status: new => closed
Comment:
sleep() is not a MT-safe function in glibc (see
http://www.gnu.org/software/libc/manual/html_node/Sleeping.html). But if
you use threads, you are only allowed to use thread safe functions.
So the bug is not in PAM but in your example code.
--
Ticket URL: <
https://fedorahosted.org/linux-pam/ticket/45#comment:3>
linux-pam <
http://fedorahosted.org/linux-pam>
The Linux-PAM (Pluggable Authentication Modules) project