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

resolv: Fix ABA race in /etc/resolv.conf change detection [BZ #25420]



__resolv_conf_get_current should only record the initial file
change data if after verifying that file just read matches the
original measurement.  Fixes commit aef16cc8
("resolv: Automatically reload a changed /etc/resolv.conf file
[BZ #984]").

Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent dd0b4df3
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