kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #06070
[Bug 1027517] Re: fifo: Do not restart open() if it already found a partner
Yes, because the Launchpad PPA builders are still running a Hardy kernel
(even when building for supported releases)!
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1027517
Title:
fifo: Do not restart open() if it already found a partner
Status in “linux” package in Ubuntu:
Incomplete
Bug description:
This race condition is believed to be responsible for a FTBFS of git
with dash ≥ 0.5.6 (at least on the PPA builders):
http://git.kernel.org/linus/05d290d66be6ef77a0b962ebecf01911bd984a78
fifo: Do not restart open() if it already found a partner
If a parent and child process open the two ends of a fifo, and the child immediately exits, the parent may receive a SIGCHLD before its open() returns. In that case, we need to make sure that open() will return successfully after the SIGCHLD handler returns, instead of throwing EINTR or being restarted. Otherwise, the restarted open() would incorrectly wait for a second partner on the other end.
The patch was merged as v3.5~31, v3.4.6~25, and v3.0.38~17.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1027517/+subscriptions