comparison libpam-sys/README.md @ 125:2b255c92417b

Introduce base PAM functions; use the real X/SSO PAM header for tests.
author Paul Fisher <paul@pfish.zone>
date Mon, 30 Jun 2025 17:47:32 -0400
parents 39760dfc9b3b
children
comparison
equal deleted inserted replaced
124:f469b8d9ad78 125:2b255c92417b
10 - BSDs, including Mac OS: `OpenPam` 10 - BSDs, including Mac OS: `OpenPam`
11 - Illumos/Solaris: `Sun` 11 - Illumos/Solaris: `Sun`
12 - Unknown: `XSso` 12 - Unknown: `XSso`
13 13
14 Each implementation exports all the functionality available in its respective PAM library. 14 Each implementation exports all the functionality available in its respective PAM library.
15 `XSso` exports only what is in the [X/SSO specification][xsso]. 15 `XSso` exports only what is in the [X/SSO specification][xsso].
16
17 ## Features
18
19 The `helpers` feature (optional, but on by default) exports two helpers for PAM memory management.
20
21 - A struct for managing the difference in memory management between Linux-PAM and all other implementations.
22 - A struct for handling the Linux-PAM–specific binary data payload structure.
23
24 Neither are directly referenced elsewhere, and both allow you to bring your own storage abstractions.
16 25
17 ## References 26 ## References
18 27
19 - [X/SSO PAM specification][xsso]: This 1997 document laid out the original specification for PAM. 28 - [X/SSO PAM specification][xsso]: This 1997 document laid out the original specification for PAM.
20 - [Linux-PAM repository][linux-pam]: The Linux-PAM implementation, used by most (all?) Linux distributions. Contains many extensions. 29 - [Linux-PAM repository][linux-pam]: The Linux-PAM implementation, used by most (all?) Linux distributions. Contains many extensions.