Commits

Denis Vlasenko committed 2f50aa42c54
login: use some ideas from util-linux's login. O_NONBLOCKing output on login timeout. fchmod instead of chmod (latter is racy). is_my_tty() is not needed anymore after race is fixed (is_my_tty() was racy too anyway...).