about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-08-15 10:30:23 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-08-15 10:30:23 +0200
commit341da5b4b6253de9a7581a066f33f89cacb44dec (patch)
tree50f20a48b3ae28208afe5a17842791ce00bbfeb9 /ChangeLog
parentdda373b00e812d14ac7e228d117f9047ceee38c9 (diff)
downloadglibc-341da5b4b6253de9a7581a066f33f89cacb44dec.tar.gz
glibc-341da5b4b6253de9a7581a066f33f89cacb44dec.tar.xz
glibc-341da5b4b6253de9a7581a066f33f89cacb44dec.zip
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1fa183b8b0..3a2ec67c92 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2019-08-15  Florian Weimer  <fweimer@redhat.com>
 
+	* login/utmp_file.c (__libc_updwtmp): Unlock the right file
+	descriptor.
+	* login/Makefile (tests): Add tst-updwtmpx.
+	* login/tst-updwtmpx.c: New file.
+
+2019-08-15  Florian Weimer  <fweimer@redhat.com>
+
 	nptl: Move pthread_equal implementation into libc.
 	* nptl/Makefile (routines): Add pthread_equal.
 	* nptl/forward.c (pthread_equal): Remove definition.