diff options
author | Davin Shearer <2205472+scholarsmate@users.noreply.github.com> | 2022-04-28 04:18:24 -0400 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2022-11-07 09:00:18 +0000 |
commit | 2e7910e3be93d99e865d9b86c38a1b56e4a95d6e (patch) | |
tree | 87b4702f74d9a2771c79df9e03a0d9bd4bb7f436 /po | |
parent | 10086bc69663fa819277af244eeb5b629a2403b8 (diff) | |
download | pam-2e7910e3be93d99e865d9b86c38a1b56e4a95d6e.tar.gz pam-2e7910e3be93d99e865d9b86c38a1b56e4a95d6e.tar.bz2 pam-2e7910e3be93d99e865d9b86c38a1b56e4a95d6e.zip |
pam_lastlog: fix file locking
Fixed 2 instances in the pam_lastlog module where file locks were
not being enforced when reading and writing last login records.
* modules/pam_lastlog/pam_lastlog.c (last_login_write): The write lock
failure is fatal after 3 tries.
(last_login_read): The read lock failure is non-fatal after 3 tries.
It is non-fatal in the read case due to concerns about a possible DoS.
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions