nelhage/reptyr — pull request #18 by robryk (2012-02-27 18:56:45+00:00)
Title: Removed the SIGWINCH race and added a check for EINTR in write_all()

I think this removes the problem from FIXME. A check in write_all() seems worth it,
because those writes may very well block.

By the way, the fork-and-wait-for-syscall-to-change method may break something
if the program has any shared read-write memory mappings and the child
happens to write to them between fork and next syscall. I don't see an easy way around
this, though (moving IP to the private page only comes to my mind). That said,
it's probably a very rare scenario.