diff options
author | Dmitry V. Levin <ldv@strace.io> | 2024-01-09 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2024-01-13 08:00:00 +0000 |
commit | 29b17de5c2be0bead7848684d8817d6b71e76c38 (patch) | |
tree | ccd4bcfaaa554e227d4609f6f79080dd07c7ac76 /modules/pam_localuser/pam_localuser.c | |
parent | 8295f092f6138ced15decc05e094667b0a8488e3 (diff) | |
download | pam-29b17de5c2be0bead7848684d8817d6b71e76c38.tar.gz pam-29b17de5c2be0bead7848684d8817d6b71e76c38.tar.bz2 pam-29b17de5c2be0bead7848684d8817d6b71e76c38.zip |
pam_listfile: 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_listfile/pam_listfile.c (pam_sm_authenticate): Rename
to pam_listfile, add static qualifier, remove "flags" argument.
Update all callers. Add a new pam_sm_authenticate as a thin wrapper
around pam_listfile.
Diffstat (limited to 'modules/pam_localuser/pam_localuser.c')
0 files changed, 0 insertions, 0 deletions