diff options
author | Elliott Hughes <enh@google.com> | 2021-04-22 18:26:04 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2021-04-24 04:50:19 -0500 |
commit | 35c484489b06134fb1ac56801c621020b935b2a7 (patch) | |
tree | a3d360b00f2a54a62e482126c45c0cee722b721c /tests/truncate.test | |
parent | c366525850cfdfd2884ab9a214be21a4f66505bd (diff) | |
download | toybox-35c484489b06134fb1ac56801c621020b935b2a7.tar.gz |
telnetd: pass `-h hostname` to login(1).
Handling utmp is login's job: telnetd should just pass the appropriate
option to login.
(I was investigating a different bug that caused telnetd to take 100%
CPU after a network outage and noticed an unexpected utmp fd. It turned
out to not be relevant to my actual problem, but it did remind me that
this utmp code isn't right in small details like that, but also in the
bigger picture: it's writing the wrong information, and only on logout,
not login. But rather than try to fix it, let's just let login do its
job.)
Diffstat (limited to 'tests/truncate.test')
0 files changed, 0 insertions, 0 deletions