Skip to content

[WRAPPER] Fix libpam conversation callback ABI#3506

Merged
ptitSeb merged 1 commit intoptitSeb:mainfrom
yzewei:libpam
Feb 13, 2026
Merged

[WRAPPER] Fix libpam conversation callback ABI#3506
ptitSeb merged 1 commit intoptitSeb:mainfrom
yzewei:libpam

Conversation

@yzewei
Copy link
Contributor

@yzewei yzewei commented Feb 13, 2026

Fixed an ABI alignment issue in the libpam conversation wrapper.

  • Fixed the pam_conv callback prototype to an int return value and used const message parameters.

  • Removed the incorrect conv_version field and constructed the structure according to the actual pam_conv layout.

  • Adjusted the way the conversation structure is passed in my_pam_start.

Resolved an error caused by a mismatch between parameters and return values ​​in the pam_start/pam conversation callback phase.

Signed-off-by: Zewei Yang <yangzewei@loongson.cn>
@ptitSeb ptitSeb merged commit 6e53473 into ptitSeb:main Feb 13, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants