mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 13:30:06 +00:00
c8727fa6e5
The old implementation uses fd 0 to determine the login TTY. This was needed because using /dev/tty it is not possible to deduce the login TTY. For some time now there is the pseudo-file /proc/self/loginuid which directly helps us to find the user. Prefer using this file. It also works if stdin is closed, redirected, or re-opened. |
||
---|---|---|
.. | ||
generic | ||
gnu | ||
i386 | ||
ia64 | ||
ieee754 | ||
mach | ||
posix | ||
powerpc | ||
pthread | ||
s390 | ||
sh | ||
sparc | ||
unix | ||
wordsize-32 | ||
wordsize-64 | ||
x86_64 |