aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_succeed_if
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
commit1f1dff78cd1e58a26b302d138f75f51061acc12c (patch)
tree7ccc0f39886ba7b7b339cb075ff9827220557c97 /modules/pam_succeed_if
parent66106ea2c9c20c1c5c05f919b363ae6ca3e7d5ca (diff)
downloadpam-1f1dff78cd1e58a26b302d138f75f51061acc12c.tar.gz
pam-1f1dff78cd1e58a26b302d138f75f51061acc12c.tar.bz2
pam-1f1dff78cd1e58a26b302d138f75f51061acc12c.zip
pam_sepermit: 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_sepermit/pam_sepermit.c (pam_sm_authenticate): Rename to pam_sepermit, add static qualifier, remove "flags" argument. Update all callers. Add a new pam_sm_authenticate as a thin wrapper around pam_sepermit.
Diffstat (limited to 'modules/pam_succeed_if')
0 files changed, 0 insertions, 0 deletions