OSDN Git Service

login: use some ideas from util-linux's login.
authorDenis Vlasenko <vda.linux@googlemail.com>
Fri, 8 Sep 2006 17:56:52 +0000 (17:56 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Fri, 8 Sep 2006 17:56:52 +0000 (17:56 -0000)
commit2f50aa42c54fb92347058e83965ea7a668ab04af
tree27109df9cef9a348d98864bc52c1deeb1a7cd263
parentbd8f43dbab871d19484887556632af50749786b6
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...).
loginutils/login.c