about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/getlogin_r.c
Commit message (Collapse)AuthorAgeFilesLines
* (__getlogin_r_loginuid): Also fail if tpwd after pwuid call is NULL.Ulrich Drepper2010-08-061-1/+1
|
* More fixes to error handling in getlogin_r.Andreas Schwab2010-06-211-2/+6
|
* Fix error handling in Linux getlogin*.Ulrich Drepper2010-06-191-11/+13
|
* Handle too-small buffers in Linux getlogin_r.Ulrich Drepper2010-05-051-4/+13
|
* Fix reading loginuid file in getlogin{,_r}.Ulrich Drepper2010-04-081-4/+12
|
* Fix Linux getlogin{_r,} implementationUlrich Drepper2010-03-241-0/+100
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.