Descriptionipc: Implement attachment brokering for SharedMemoryHandle on Windows.
Each SharedMemoryHandle is backed by a HANDLE, and that HANDLE is associated
with a specific process. If a SharedMemoryHandle passed to IPC is associated
with the current process, the IPC stack will automatically broker the handle to
the destination process.
This functionality has been implemented and tested, but is not yet turned on,
because there are a couple of Windows-specific Chrome IPC messages that
intentionally pass a HANDLE associated with another process. I will write a
follow-up CL that turns on this functionality, and removes those IPC messages.
BUG=493414
Committed: https://crrev.com/3d87ecf7392672dbd0aaabc042caf29cf63631cf
Cr-Commit-Position: refs/heads/master@{#368244}
Patch Set 1 #Patch Set 2 : gyp fix #Patch Set 3 : Fix a double release bug. #Patch Set 4 : Fix ownership problem in receiving process for tests. #Patch Set 5 : Disable functionality and test. #Patch Set 6 : Fix some comments. #Patch Set 7 : Fix another test. #Patch Set 8 : Fix more tests. #
Messages
Total messages: 44 (22 generated)
|