Skip to content
Commit 76a7c103 authored by Florian Weimer's avatar Florian Weimer
Browse files

login: Introduce matches_last_entry to utmp processing

This simplifies internal_getut_nolock and fixes a regression,
introduced in commit be6b16d9
("login: Acquire write lock early in pututline [BZ #24882]")
in pututxline because __utmp_equal can only compare process-related
utmp entries.

Fixes: be6b16d9
Change-Id: Ib8a85002f7f87ee41590846d16d7e52bdb82f5a5
parent cba932a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment