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

Issue 2385673003: Make event and mutexes created by SetupSingleton accessible to everyone. (Closed)

Created:
4 years, 2 months ago by fdoray
Modified:
4 years, 2 months ago
Reviewers:
grt (UTC plus 2)
CC:
chromium-reviews, grt+watch_chromium.org, pennymac+watch_chromium.org, wfh+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make event and mutexes created by SetupSingleton accessible to everyone. Before this CL, a non-elevated installer could get an ERROR_ACCESS_DENIED when calling CreateEvent/CreateMutex to obtain a handle to an event/mutex that had already been created by an elevated installer. With this CL, SetupSingleton creates events and mutexes with SECURITY_ATTRIBUTES that allow access to everyone. Calls to CreateEvent/CreateMutex from SetupSingleton should no longer cause an ERROR_ACCESS_DENIED, even if the event/mutex has already been created by a installer running with a different access token. BUG=650981

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -3 lines) Patch
M chrome/installer/setup/setup_singleton.cc View 4 chunks +34 lines, -3 lines 1 comment Download

Messages

Total messages: 7 (2 generated)
fdoray
PTAL
4 years, 2 months ago (2016-09-30 15:41:46 UTC) #2
grt (UTC plus 2)
please ask security (maybe wfh) what they think about this. it opens the system-level installer ...
4 years, 2 months ago (2016-10-03 07:49:00 UTC) #3
fdoray
On 2016/10/03 07:49:00, grt (UTC plus 2) wrote: > please ask security (maybe wfh) what ...
4 years, 2 months ago (2016-10-03 15:23:46 UTC) #4
grt (UTC plus 2)
On 2016/10/03 15:23:46, fdoray wrote: > On 2016/10/03 07:49:00, grt (UTC plus 2) wrote: > ...
4 years, 2 months ago (2016-10-04 06:41:36 UTC) #5
fdoray
4 years, 2 months ago (2016-10-04 12:32:02 UTC) #6
Closing this CL

Powered by Google App Engine
This is Rietveld 408576698