Mercurial > crates > nonstick
comparison build.rs @ 97:efe2f5f8b5b2
Implement "stateless" application-side PAM calls.
This introduces `authenticate`, `account_management`, and `change_authtok`.
These are the three PAM operations that are stateless (i.e., they don't start
a session or modify global credentials).
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Mon, 23 Jun 2025 19:10:34 -0400 |
parents | 5ddbcada30f2 |
children | 3f11b8d30f63 |
comparison
equal
deleted
inserted
replaced
96:f3e260f9ddcb | 97:efe2f5f8b5b2 |
---|---|
16 .allowlist_function("pam_[gs]et_item") | 16 .allowlist_function("pam_[gs]et_item") |
17 .allowlist_function("pam_get_user") | 17 .allowlist_function("pam_get_user") |
18 .allowlist_function("pam_get_authtok") | 18 .allowlist_function("pam_get_authtok") |
19 .allowlist_function("pam_end") | 19 .allowlist_function("pam_end") |
20 .allowlist_function("pam_strerror") | 20 .allowlist_function("pam_strerror") |
21 .allowlist_function("pam_authenticate") | |
22 .allowlist_function("pam_chauthtok") | |
23 .allowlist_function("pam_acct_mgmt") | |
21 .default_macro_constant_type(MacroTypeVariation::Unsigned); | 24 .default_macro_constant_type(MacroTypeVariation::Unsigned); |
22 | 25 |
23 let linux_builder = common_builder | 26 let linux_builder = common_builder |
24 .clone() | 27 .clone() |
25 // This function is not available in OpenPAM. | 28 // This function is not available in OpenPAM. |