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