diff options
author | Tomas Mraz <tmraz@fedoraproject.org> | 2014-01-20 17:12:53 +0100 |
---|---|---|
committer | Tomas Mraz <tmraz@fedoraproject.org> | 2014-01-20 17:12:53 +0100 |
commit | 4eb04f3974b9245e31a59b0910c7b81ac5bc0496 (patch) | |
tree | 5e73d4af58a79bb79855741fa0b09598357176a6 /modules/pam_unix/unix_update.c | |
parent | 2e62d5aea3f5ac267cfa54f0ea1f8c07ac85a95a (diff) | |
download | pam-4eb04f3974b9245e31a59b0910c7b81ac5bc0496.tar.gz pam-4eb04f3974b9245e31a59b0910c7b81ac5bc0496.tar.bz2 pam-4eb04f3974b9245e31a59b0910c7b81ac5bc0496.zip |
pam_limits: detect and ignore stale utmp entries
Original idea by Christopher Hailey
* modules/pam_limits/pam_limits.c (check_logins): Use kill() to
detect if pid of the utmp entry is still running and ignore the entry
if it is not.
Diffstat (limited to 'modules/pam_unix/unix_update.c')
0 files changed, 0 insertions, 0 deletions