aboutsummaryrefslogtreecommitdiffstats
path: root/main/fakeroot/fakeroot-msgrcv-signal.patch
Commit message (Collapse)AuthorAgeFilesLines
* main/fakeroot: fix signal handling for msgrcvTimo Teräs2016-12-021-0/+12
Retry msgrcv in case signal arrives, otherwise we return bad values from libc hooks. According to docs msgrcv is never restarted automatically regardless of SA_RESTART flag, so do it in the code. Incidentally mksquashfs sets up SIGALRM to fire relatively often so it is good at trigger this race with different weird error messages.