Releases: msteinert/pam
Releases · msteinert/pam
v2.0.0
This release fixes an issue where some PAM modules may assert if pam_end
is called in a different OS thread than pam_start
. As a result, it is now required to call End
on a Transaction
, probably in a defer
statement. Previously pam_end
was called via runtime.SetFinalizer. The example has been updated to illustrate how this might be accomplished. Thanks to @3v1n0 for the patch!