]> sourceware.org Git - glibc.git/commit
getlogin_r: fix missing fallback if loginuid is unset (bug 30235)
authorAndreas Schwab <schwab@suse.de>
Wed, 15 Mar 2023 10:44:24 +0000 (11:44 +0100)
committerAndreas Schwab <schwab@suse.de>
Thu, 30 Mar 2023 11:58:27 +0000 (13:58 +0200)
commit0d83b349fa7340475406b2fe933c7467e4584091
treea6f75b862ef48445e19bd2764f8a69529a14c359
parent24cdd6c71debfd10a9f7cb217fe2a2c4c486ed6f
getlogin_r: fix missing fallback if loginuid is unset (bug 30235)

When /proc/self/loginuid is not set, we should still fall back to using
the traditional utmp lookup, instead of failing right away.
sysdeps/unix/sysv/linux/getlogin_r.c
This page took 0.042585 seconds and 5 git commands to generate.