summaryrefslogtreecommitdiffstats
path: root/pathnames.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2015-06-10 23:45:05 +0200
committerRalf Baechle <ralf@linux-mips.org>2015-06-10 23:45:05 +0200
commit1214e075cc0a93fe2c11997202d653fd2422b4e5 (patch)
tree2d5bc4988041b8cfb815af189c3e9dddf6314c30 /pathnames.h
parent854c084ec3a966f0655df7e3b25a427ba1791d40 (diff)
call: Fix race condition between select(2) and signal delivery.
If a signal is delivered between the start of the main select loop and select might wait for a long time. Fixing this with select is not possible so switch to pselect. Unlike select pselect akes a struct timespec pointer as its argument so rewrite the related infrastructure to work with struct timespec instead of struct timeval. For now the race did only affect the SIGQUIT delivery. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'pathnames.h')
0 files changed, 0 insertions, 0 deletions