aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_unix
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@strace.io>2024-01-09 08:00:00 +0000
committerDmitry V. Levin <ldv@strace.io>2024-01-13 08:00:00 +0000
commit5085af5945bf84d4fed2f08727cfead1a252fa21 (patch)
tree3f5034d44c14fb47eb14a9afd4adfa58d70233ce /modules/pam_unix
parent1f1dff78cd1e58a26b302d138f75f51061acc12c (diff)
downloadpam-5085af5945bf84d4fed2f08727cfead1a252fa21.tar.gz
pam-5085af5945bf84d4fed2f08727cfead1a252fa21.tar.bz2
pam-5085af5945bf84d4fed2f08727cfead1a252fa21.zip
pam_succeed_if: do not call pam_sm_authenticate
Calling an exported function from the module is unsafe as there is no guarantee that the function that will be actually called is the one that is provided by the module. * modules/pam_succeed_if/pam_succeed_if.c (pam_sm_authenticate): Rename to pam_succeed_if, add static qualifier, remove "flags" argument. Update all callers. Add a new pam_sm_authenticate as a thin wrapper around pam_succeed_if.
Diffstat (limited to 'modules/pam_unix')
0 files changed, 0 insertions, 0 deletions