]> git.ipfire.org Git - thirdparty/util-linux.git/commit
su: more robust getpwuid() for GNU Hurt [coreutils 71b7ddc]
authorKarel Zak <kzak@redhat.com>
Wed, 5 Sep 2012 09:13:34 +0000 (11:13 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 5 Sep 2012 09:13:34 +0000 (11:13 +0200)
commitd10028a712eca099bbba835b9b43e372749ff592
treeb8a20d293a137d2d914f18fbfe3b0bef8ea069d7
parent6edbca18bbeccd855b0fc8a9c9d842d7605a7f31
su: more robust getpwuid() for GNU Hurt [coreutils 71b7ddc]

Let's support GNU Hurd over-engineering where a process can exist
without UID and getuid() returns -1 and sets errno.

Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/su-common.c