aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_lastlog
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
commit49b0b16a3d9781c6d7294b3d04a4d6d57b388c1b (patch)
tree8b6436f495e1457a675b74f97030d44f2bcc562a /modules/pam_lastlog
parent8750f003e26149cc10fc2a6e88797be673ed1838 (diff)
downloadpam-49b0b16a3d9781c6d7294b3d04a4d6d57b388c1b.tar.gz
pam-49b0b16a3d9781c6d7294b3d04a4d6d57b388c1b.tar.bz2
pam-49b0b16a3d9781c6d7294b3d04a4d6d57b388c1b.zip
pam_access: 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_access/pam_access.c (pam_sm_authenticate): Rename to pam_access, add static qualifier, remove "flags" argument. Update all callers. Add a new pam_sm_authenticate as a thin wrapper around pam_access.
Diffstat (limited to 'modules/pam_lastlog')
0 files changed, 0 insertions, 0 deletions