]> git.ipfire.org Git - thirdparty/shadow.git/commit
utmp: move `update_utmp`
authorIker Pedrosa <ipedrosa@redhat.com>
Tue, 18 Jul 2023 14:48:02 +0000 (16:48 +0200)
committerSerge Hallyn <serge@hallyn.com>
Wed, 2 Aug 2023 15:13:28 +0000 (10:13 -0500)
commit6b7108e347f35db04cf21024868ee0482c5090be
tree54ede9d56c00a273a8d2bf52011611901eaf1f3e
parentb6ca83ea4c4404771d896a23c3ac7fbb4d44a4d1
utmp: move `update_utmp`

The functionality from this function is related to utmp. Restrict access
to `setutmp()` to the same file.

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
lib/prototypes.h
libmisc/utmp.c
src/login.c