aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/0003-pam_unix-obscure-checks.patch
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@suse.com>2023-02-14 14:57:40 +0100
committerThorsten Kukuk <5908016+thkukuk@users.noreply.github.com>2023-02-14 22:09:13 +0100
commit244b46908df930626535c0cd7c2867407fe8714a (patch)
tree246472bae38ec8a027c40b0eff4b95006304f532 /debian/patches/0003-pam_unix-obscure-checks.patch
parenta21920f8a51951d8dea69fe8720ef9437eb49830 (diff)
downloadpam-244b46908df930626535c0cd7c2867407fe8714a.tar.gz
pam-244b46908df930626535c0cd7c2867407fe8714a.tar.bz2
pam-244b46908df930626535c0cd7c2867407fe8714a.zip
libpam: use getlogin() from libc and not utmp
utmp uses 32bit time_t for compatibility with 32bit userland on some 64bit systems and is thus not Y2038 safe. Use getlogin() from libc which avoids using utmp and is more safe than the old utmp-based implementation by using /proc/self/loginuid. * libpam/pam_modutil_getlogin.c: Use getlogin() instead of parsing utmp
Diffstat (limited to 'debian/patches/0003-pam_unix-obscure-checks.patch')
0 files changed, 0 insertions, 0 deletions