Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Issue 1405093013: win: Lower integrity level of connection pipe (Closed)

Created:
5 years, 1 month ago by scottmg
Modified:
5 years, 1 month ago
Reviewers:
Mark Mentovai, jschuh
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

win: Lower integrity level of connection pipe This is necessary to be able to connect to crashpad_handler from a Chrome renderer. R=jschuh@chromium.org, mark@chromium.org BUG=chromium:546288 Committed: https://chromium.googlesource.com/crashpad/crashpad/+/e75e8c800f3f2f9ca1b131b2a0599a2fb5ca80f9

Patch Set 1 #

Total comments: 9

Patch Set 2 : fixes #

Patch Set 3 : set first_instance when specifying a pipe name #

Total comments: 11

Patch Set 4 : more #

Patch Set 5 : . #

Patch Set 6 : . #

Total comments: 14

Patch Set 7 : fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -33 lines) Patch
M test/win/win_child_process.cc View 1 2 3 4 5 6 2 chunks +2 lines, -10 lines 0 comments Download
M util/util.gyp View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M util/win/command_line_test.cc View 1 2 3 4 5 6 1 chunk +1 line, -11 lines 0 comments Download
M util/win/exception_handler_server.cc View 1 2 3 4 5 6 4 chunks +45 lines, -12 lines 0 comments Download
A util/win/scoped_local_alloc.h View 1 2 3 4 5 6 1 chunk +33 lines, -0 lines 0 comments Download
A util/win/scoped_local_alloc.cc View 1 2 3 4 5 6 1 chunk +26 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (2 generated)
scottmg
5 years, 1 month ago (2015-11-05 19:58:40 UTC) #2
jschuh
lgtm on the windows pipe creation and label, with a doc nit.
5 years, 1 month ago (2015-11-05 20:04:54 UTC) #3
jschuh
and here's the nit https://codereview.chromium.org/1405093013/diff/1/util/win/exception_handler_server.cc File util/win/exception_handler_server.cc (right): https://codereview.chromium.org/1405093013/diff/1/util/win/exception_handler_server.cc#newcode53 util/win/exception_handler_server.cc:53: // low integrity processes. Should ...
5 years, 1 month ago (2015-11-05 20:05:13 UTC) #4
Mark Mentovai
https://codereview.chromium.org/1405093013/diff/1/util/win/exception_handler_server.cc File util/win/exception_handler_server.cc (right): https://codereview.chromium.org/1405093013/diff/1/util/win/exception_handler_server.cc#newcode70 util/win/exception_handler_server.cc:70: // We only need to set the integrity level ...
5 years, 1 month ago (2015-11-05 20:08:01 UTC) #5
scottmg
Thanks https://codereview.chromium.org/1405093013/diff/1/util/win/exception_handler_server.cc File util/win/exception_handler_server.cc (right): https://codereview.chromium.org/1405093013/diff/1/util/win/exception_handler_server.cc#newcode53 util/win/exception_handler_server.cc:53: // low integrity processes. On 2015/11/05 20:05:13, jschuh ...
5 years, 1 month ago (2015-11-05 20:15:31 UTC) #6
Mark Mentovai
https://codereview.chromium.org/1405093013/diff/1/util/win/exception_handler_server.cc File util/win/exception_handler_server.cc (right): https://codereview.chromium.org/1405093013/diff/1/util/win/exception_handler_server.cc#newcode70 util/win/exception_handler_server.cc:70: // We only need to set the integrity level ...
5 years, 1 month ago (2015-11-05 21:01:13 UTC) #7
scottmg
On 2015/11/05 21:01:13, Mark Mentovai wrote: > https://codereview.chromium.org/1405093013/diff/1/util/win/exception_handler_server.cc > File util/win/exception_handler_server.cc (right): > > https://codereview.chromium.org/1405093013/diff/1/util/win/exception_handler_server.cc#newcode70 ...
5 years, 1 month ago (2015-11-05 21:20:21 UTC) #8
Mark Mentovai
https://codereview.chromium.org/1405093013/diff/40001/util/win/exception_handler_server.cc File util/win/exception_handler_server.cc (right): https://codereview.chromium.org/1405093013/diff/40001/util/win/exception_handler_server.cc#newcode87 util/win/exception_handler_server.cc:87: PACL* sacl = nullptr; ACL**? https://codereview.chromium.org/1405093013/diff/40001/util/win/exception_handler_server.cc#newcode89 util/win/exception_handler_server.cc:89: kSddl, SDDL_REVISION, ...
5 years, 1 month ago (2015-11-05 21:36:15 UTC) #9
Mark Mentovai
https://codereview.chromium.org/1405093013/diff/40001/util/win/exception_handler_server.cc File util/win/exception_handler_server.cc (right): https://codereview.chromium.org/1405093013/diff/40001/util/win/exception_handler_server.cc#newcode385 util/win/exception_handler_server.cc:385: Maybe this works out better from that perspective if ...
5 years, 1 month ago (2015-11-05 21:39:11 UTC) #10
scottmg
Alright, around in circles here a little, but I think this is better. Please take ...
5 years, 1 month ago (2015-11-05 22:29:59 UTC) #11
Mark Mentovai
LGTM. This structure is much better, and less code, too. https://codereview.chromium.org/1405093013/diff/100001/util/win/exception_handler_server.cc File util/win/exception_handler_server.cc (right): https://codereview.chromium.org/1405093013/diff/100001/util/win/exception_handler_server.cc#newcode54 ...
5 years, 1 month ago (2015-11-06 14:55:48 UTC) #12
scottmg
https://codereview.chromium.org/1405093013/diff/100001/util/win/exception_handler_server.cc File util/win/exception_handler_server.cc (right): https://codereview.chromium.org/1405093013/diff/100001/util/win/exception_handler_server.cc#newcode54 util/win/exception_handler_server.cc:54: SECURITY_ATTRIBUTES security_attributes = {0}; On 2015/11/06 14:55:48, Mark Mentovai ...
5 years, 1 month ago (2015-11-06 18:03:30 UTC) #13
Mark Mentovai
LGTM
5 years, 1 month ago (2015-11-06 18:18:42 UTC) #14
scottmg
5 years, 1 month ago (2015-11-06 18:43:44 UTC) #15
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as
e75e8c800f3f2f9ca1b131b2a0599a2fb5ca80f9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698