aboutsummaryrefslogtreecommitdiff
path: root/toys/other/watch.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2021-04-22 18:26:04 -0700
committerRob Landley <rob@landley.net>2021-04-24 04:50:19 -0500
commit35c484489b06134fb1ac56801c621020b935b2a7 (patch)
treea3d360b00f2a54a62e482126c45c0cee722b721c /toys/other/watch.c
parentc366525850cfdfd2884ab9a214be21a4f66505bd (diff)
downloadtoybox-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 'toys/other/watch.c')
0 files changed, 0 insertions, 0 deletions