aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/mips
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-08-15 16:09:05 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-08-15 16:09:05 +0200
commit628598be7e1bfaa04f34df71ef6678f2c5103dfd (patch)
treea9b7724fb96614a40533ee98d6417268e9584e47 /sysdeps/unix/sysv/linux/mips
parent17e1347452df722eed69b8b756ae21c35933b4b5 (diff)
downloadglibc-628598be7e1bfaa04f34df71ef6678f2c5103dfd.tar
glibc-628598be7e1bfaa04f34df71ef6678f2c5103dfd.tar.gz
glibc-628598be7e1bfaa04f34df71ef6678f2c5103dfd.tar.bz2
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/unix/sysv/linux/mips')
0 files changed, 0 insertions, 0 deletions