Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-02-09 | Replace FSF snail mail address with URLs. | Paul Eggert | 1 | -3/+2 | |
2010-08-06 | (__getlogin_r_loginuid): Also fail if tpwd after pwuid call is NULL. | Ulrich Drepper | 1 | -1/+1 | |
2010-06-21 | More fixes to error handling in getlogin_r. | Andreas Schwab | 1 | -2/+6 | |
2010-06-19 | Fix error handling in Linux getlogin*. | Ulrich Drepper | 1 | -11/+13 | |
2010-05-05 | Handle too-small buffers in Linux getlogin_r. | Ulrich Drepper | 1 | -4/+13 | |
2010-04-08 | Fix reading loginuid file in getlogin{,_r}. | Ulrich Drepper | 1 | -4/+12 | |
2010-03-24 | Fix Linux getlogin{_r,} implementation | Ulrich Drepper | 1 | -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. |