DescriptionDo not double-unref send rights when using POLICY_SUBSTITUE_PORT.
By destroying the reply message, the already-copied-out right will be unrefed
again, leading to an over-release of send rights.
This also requires that Rule(POLICY_SUBSTITUTE_PORT) users provide a send right
that can be duplicated with MACH_MSG_TYPE_COPY_SEND, rather than using MAKE_SEND.
BUG=367863
R=mark@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274467
Patch Set 1 #
Total comments: 2
Patch Set 2 : Adjust comment #
Messages
Total messages: 6 (0 generated)
|