Chromium Code Reviews
Description[mojo-edk] Prevent watching an invalid FD on early broker pipe closure
If a parent process closes the broker OS pipe to a child before
that child can request a NodeChannel FD from it, the child will
silently ignore this failure and try to bring up a NodeChannel over
an invalid FD.
This means adding FileDescriptorWatchers and ultimately calling
epoll_add on the invalid descriptor, hence the linked bug.
This CL fixes that by terminating child-parent connection early
when the Broker fails to acquire a valid NodeChannel FD.
BUG=620758
R=jam@chromium.org
Committed: https://crrev.com/f0a6234831ce289c4b16327d2418e5ff3c623d54
Cr-Commit-Position: refs/heads/master@{#400523}
Patch Set 1 #
Messages
Total messages: 10 (5 generated)
|
|||||||||||||||||||