]> git.ipfire.org Git - thirdparty/glibc.git/commit
login: Fix updwtmp, updwtmx unlocking
authorFlorian Weimer <fweimer@redhat.com>
Thu, 15 Aug 2019 08:30:23 +0000 (10:30 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 15 Aug 2019 08:30:23 +0000 (10:30 +0200)
commit341da5b4b6253de9a7581a066f33f89cacb44dec
tree50f20a48b3ae28208afe5a17842791ce00bbfeb9
parentdda373b00e812d14ac7e228d117f9047ceee38c9
login: Fix updwtmp, updwtmx unlocking

Commit 5a3afa9738f3dbbaf8c0a35665318c1af782111b (login: Replace
macro-based control flow with function calls in utmp) introduced
a regression because after it, __libc_updwtmp attempts to unlock
the wrong file descriptor.
ChangeLog
login/Makefile
login/tst-updwtmpx.c [new file with mode: 0644]
login/utmp_file.c