diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-08-15 16:09:05 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-08-15 16:09:05 +0200 |
commit | 628598be7e1bfaa04f34df71ef6678f2c5103dfd (patch) | |
tree | a9b7724fb96614a40533ee98d6417268e9584e47 /sysdeps/gnu | |
parent | 17e1347452df722eed69b8b756ae21c35933b4b5 (diff) | |
download | glibc-628598be7e1bfaa04f34df71ef6678f2c5103dfd.tar.gz glibc-628598be7e1bfaa04f34df71ef6678f2c5103dfd.tar.xz glibc-628598be7e1bfaa04f34df71ef6678f2c5103dfd.zip |
login: Disarm timer after utmp lock acquisition [BZ #24879]
If the file processing takes a long time for some reason, SIGALRM can arrive while the file is still being processed. At that point, file access will fail with EINTR. Disarming the timer after lock acquisition avoids that. (If there was a previous alarm, it is the responsibility of the caller to deal with the EINTR error.)
Diffstat (limited to 'sysdeps/gnu')
0 files changed, 0 insertions, 0 deletions