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

Issue 2377973002: Fix race condition on OSCrypt linux (Closed)

Created:
4 years, 2 months ago by cfroussios
Modified:
4 years, 2 months ago
Reviewers:
Lei Zhang
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix race condition on OSCrypt linux This fixes the test that is broken on tsan. BUG=650902, 631171 Committed: https://crrev.com/840961a10fc0c0e24299ced23a60908ffa09e9d1 Cr-Commit-Position: refs/heads/master@{#421605}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Call GetEncryptionKey only once #

Patch Set 3 : call with version #

Patch Set 4 : move comment #

Total comments: 3

Patch Set 5 : typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -9 lines) Patch
M components/os_crypt/os_crypt_linux.cc View 1 2 3 4 3 chunks +15 lines, -9 lines 0 comments Download

Messages

Total messages: 32 (22 generated)
cfroussios
Hi! Can you review this fix? Thanks! Also, just to be clear, tsan isn't supposed ...
4 years, 2 months ago (2016-09-28 09:52:07 UTC) #7
Lei Zhang
I'd like to think TSAN is correct most of the time. https://codereview.chromium.org/2377973002/diff/1/components/os_crypt/os_crypt_linux.cc File components/os_crypt/os_crypt_linux.cc (right): ...
4 years, 2 months ago (2016-09-28 15:35:06 UTC) #8
Lei Zhang
https://codereview.chromium.org/2377973002/diff/1/components/os_crypt/os_crypt_linux.cc File components/os_crypt/os_crypt_linux.cc (right): https://codereview.chromium.org/2377973002/diff/1/components/os_crypt/os_crypt_linux.cc#newcode161 components/os_crypt/os_crypt_linux.cc:161: GetEncryptionKey(version)); On 2016/09/28 15:35:06, Lei Zhang wrote: > Aren't ...
4 years, 2 months ago (2016-09-28 15:43:21 UTC) #9
cfroussios
https://codereview.chromium.org/2377973002/diff/1/components/os_crypt/os_crypt_linux.cc File components/os_crypt/os_crypt_linux.cc (right): https://codereview.chromium.org/2377973002/diff/1/components/os_crypt/os_crypt_linux.cc#newcode155 components/os_crypt/os_crypt_linux.cc:155: // If a |KeyStorage| is available, use a password ...
4 years, 2 months ago (2016-09-28 16:08:17 UTC) #16
Lei Zhang
lgtm https://codereview.chromium.org/2377973002/diff/60001/components/os_crypt/os_crypt_linux.cc File components/os_crypt/os_crypt_linux.cc (right): https://codereview.chromium.org/2377973002/diff/60001/components/os_crypt/os_crypt_linux.cc#newcode155 components/os_crypt/os_crypt_linux.cc:155: // If we are able to create a ...
4 years, 2 months ago (2016-09-28 16:45:14 UTC) #19
Lei Zhang
https://codereview.chromium.org/2377973002/diff/60001/components/os_crypt/os_crypt_linux.cc File components/os_crypt/os_crypt_linux.cc (right): https://codereview.chromium.org/2377973002/diff/60001/components/os_crypt/os_crypt_linux.cc#newcode155 components/os_crypt/os_crypt_linux.cc:155: // If we are able to create a V11 ...
4 years, 2 months ago (2016-09-28 17:32:58 UTC) #22
Lei Zhang
https://codereview.chromium.org/2377973002/diff/60001/components/os_crypt/os_crypt_linux.cc File components/os_crypt/os_crypt_linux.cc (right): https://codereview.chromium.org/2377973002/diff/60001/components/os_crypt/os_crypt_linux.cc#newcode155 components/os_crypt/os_crypt_linux.cc:155: // If we are able to create a V11 ...
4 years, 2 months ago (2016-09-28 17:33:27 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2377973002/80001
4 years, 2 months ago (2016-09-28 19:26:59 UTC) #28
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-09-28 19:33:41 UTC) #30
commit-bot: I haz the power
4 years, 2 months ago (2016-09-28 19:35:47 UTC) #32
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/840961a10fc0c0e24299ced23a60908ffa09e9d1
Cr-Commit-Position: refs/heads/master@{#421605}

Powered by Google App Engine
This is Rietveld 408576698