aboutsummaryrefslogtreecommitdiff
path: root/libpam
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
commit6bd4e4e54c2cdc38ce08436ac786330af72b6207 (patch)
treeec7392bc0ce12cfc41327065fabe5e4343095d35 /libpam
parent5085af5945bf84d4fed2f08727cfead1a252fa21 (diff)
downloadpam-6bd4e4e54c2cdc38ce08436ac786330af72b6207.tar.gz
pam-6bd4e4e54c2cdc38ce08436ac786330af72b6207.tar.bz2
pam-6bd4e4e54c2cdc38ce08436ac786330af72b6207.zip
pam_usertype: 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_usertype/pam_usertype.c (pam_sm_authenticate): Rename to pam_usertype, add static qualifier, remove "flags" argument. Update all callers. Add a new pam_sm_authenticate as a thin wrapper around pam_usertype.
Diffstat (limited to 'libpam')
0 files changed, 0 insertions, 0 deletions