diff options
author | Elliott Hughes <enh@google.com> | 2020-08-11 12:17:13 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-08-12 04:52:51 -0500 |
commit | 32b8a54ca2c08d54447917c80a5a6311932004e5 (patch) | |
tree | a01a695663da3aa2410c644f2f22c0221bee712c /toys/other/setsid.c | |
parent | 98943e25c8d24423c74e4a31d70f274c78e35e51 (diff) | |
download | toybox-32b8a54ca2c08d54447917c80a5a6311932004e5.tar.gz |
getty: ensure utmp is updated.
The key issues here turned out to be that getty is responsible for
creating the file if it doesn't exist, and that the -H flag doesn't
control whether utmp is updated, but whether or not to override the
hostname within the utmp entry.
While I'm here switch to the more modern utx APIs that all the non-pending
parts of toybox use, and remove the duplication.
Diffstat (limited to 'toys/other/setsid.c')
0 files changed, 0 insertions, 0 deletions