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

Issue 11016004: Force crypto::AppleKeychain access to be guarded by a Big Global Lock (Closed)

Created:
8 years, 2 months ago by Ryan Sleevi
Modified:
8 years, 2 months ago
CC:
chromium-reviews, kerz_chromium
Visibility:
Public.

Description

Force crypto::AppleKeychain access to be guarded by a Big Global Lock Apple removed the Big Global Lock guarding the Security.framework API, but there are a number of thread-unsafe places in the API. Additionally, it seems that OS X 10.8.2 has introduced some deadlock potential, so force calls to be serialized behind a Chrome-supplied Big Global Lock until it's safe to do otherwise. BUG=151707 TEST=See bug Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=159839

Patch Set 1 #

Patch Set 2 : Missed two methods #

Patch Set 3 : More Big Global Lock #

Patch Set 4 : More BGL #

Patch Set 5 : More BGL #

Patch Set 6 : Now with 100% [hopefully] less recursive locking #

Patch Set 7 : Now really with fewer recursions #

Total comments: 1

Patch Set 8 : comment update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -23 lines) Patch
M crypto/apple_keychain_mac.mm View 1 9 chunks +13 lines, -0 lines 0 comments Download
M net/base/cert_verify_proc_mac.h View 1 2 2 chunks +0 lines, -6 lines 0 comments Download
M net/base/cert_verify_proc_mac.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -5 lines 0 comments Download
M net/base/x509_certificate_mac.cc View 1 2 3 4 5 6 7 chunks +46 lines, -12 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Ryan Sleevi
rsesek, scottbyer: Could one of you test? kerz: FYI Will TBR it to wtc@ if ...
8 years, 2 months ago (2012-09-29 08:11:28 UTC) #1
Robert Sesek
I didn't see this issue locally and cannot repro. I can ask a coworker on ...
8 years, 2 months ago (2012-09-29 20:54:37 UTC) #2
Scott Byer
I won't get a chance to try this out until first thing Monday morning, unfortunately. ...
8 years, 2 months ago (2012-09-30 01:21:37 UTC) #3
Scott Byer
Testing now... On 2012/09/30 01:21:37, Scott Byer wrote: > I won't get a chance to ...
8 years, 2 months ago (2012-10-01 16:26:12 UTC) #4
Ryan Sleevi
On 2012/10/01 16:26:12, Scott Byer wrote: > Testing now... Initial results weren't promising - it ...
8 years, 2 months ago (2012-10-01 18:30:11 UTC) #5
wtc
Review comments on patch set 7: This solution is brittle. It'll be easy to add ...
8 years, 2 months ago (2012-10-02 01:46:42 UTC) #6
Ryan Sleevi
On Oct 1, 2012 9:46 PM, <wtc@chromium.org> wrote: > > Review comments on patch set ...
8 years, 2 months ago (2012-10-02 02:10:04 UTC) #7
Scott Byer
LGTM. Went through 50 launches using patch set 7, no issues. On 2012/10/02 02:10:04, Ryan ...
8 years, 2 months ago (2012-10-02 17:33:05 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/11016004/16001
8 years, 2 months ago (2012-10-02 23:24:53 UTC) #9
commit-bot: I haz the power
8 years, 2 months ago (2012-10-03 05:46:47 UTC) #10
Change committed as 159839

Powered by Google App Engine
This is Rietveld 408576698