Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@msteinert msteinert released this 30 Nov 18:48
· 6 commits to master since this release

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!