|
|
Created:
5 years, 6 months ago by erikchen Modified:
5 years, 6 months ago Reviewers:
jbauman CC:
chromium-reviews, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org Base URL:
https://chromium.googlesource.com/chromium/src.git@shared_memory_make_class3_base Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionPrepare gpu_channel_host for SharedMemoryHandles not backed by POSIX fds.
On Mac, SharedMemoryHandle is soon going to be backed by Mach primtiives. I've
updated the code in GpuChannelHost to reflect this.
BUG=466437
Committed: https://crrev.com/0dcc94c8d2f4b8888756acf63554407d41fb252d
Cr-Commit-Position: refs/heads/master@{#332975}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Capitalization. #Patch Set 3 : Undo change to Windows behavior. #Messages
Total messages: 24 (9 generated)
erikchen@chromium.org changed reviewers: + jbauman@chromium.org
jbauman: Please review.
lgtm, with one issue. https://codereview.chromium.org/1152273005/diff/1/content/common/gpu/client/g... File content/common/gpu/client/gpu_channel_host.cc (right): https://codereview.chromium.org/1152273005/diff/1/content/common/gpu/client/g... content/common/gpu/client/gpu_channel_host.cc:323: return base::SharedMemory::Duplicatehandle(source_handle); incorrect capitalization of DuplicateHandle.
https://codereview.chromium.org/1152273005/diff/1/content/common/gpu/client/g... File content/common/gpu/client/gpu_channel_host.cc (right): https://codereview.chromium.org/1152273005/diff/1/content/common/gpu/client/g... content/common/gpu/client/gpu_channel_host.cc:323: return base::SharedMemory::Duplicatehandle(source_handle); On 2015/06/03 22:01:41, jbauman wrote: > incorrect capitalization of DuplicateHandle. Done.
The CQ bit was checked by erikchen@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from jbauman@chromium.org Link to the patchset: https://codereview.chromium.org/1152273005/#ps20001 (title: "Capitalization.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1152273005/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by erikchen@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1152273005/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by erikchen@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1152273005/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
On 2015/06/04 03:08:11, commit-bot: I haz the power wrote: > Try jobs failed on following builders: > win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, > http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...) Note to self: [2988:3884:0603/195756:FATAL:sandbox_win.cc(488)] Check failed: !(basic_info.GrantedAccess & WRITE_DAC). You are attempting to duplicate a privileged handle into a sandboxed process. Please use the sandbox::BrokerDuplicateHandle API or contact security@chromium.org for assistance.
jbauman: I've uploaded a new patch set which reverts to using BrokerDuplicateHandle() on Windows instead of BrokerDuplicateSharedMemoryHandle(). This is a regression in terms of semantics, but retains the original behavior of Windows. The current interface of BrokerDuplicateSharedMemoryHandle() doesn't support Windows-specific ACL operations. I'm not sure whether I want to change the existing interface - this is currently the only location that would need a change in semantics, so I'm inclined to leave it as is for now.
lgtm
The CQ bit was checked by erikchen@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1152273005/40001
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/0dcc94c8d2f4b8888756acf63554407d41fb252d Cr-Commit-Position: refs/heads/master@{#332975} |