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

Issue 1337653005: win: Fix use of THREAD_ALL_ACCESS on XP (Closed)

Created:
5 years, 3 months ago by scottmg
Modified:
5 years, 3 months ago
Reviewers:
Mark Mentovai
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: Fix use of THREAD_ALL_ACCESS on XP OpenThread(THREAD_ALL_ACCESS, ...) fails on XP with the uplevel value of THREAD_ALL_ACCESS, so use the XP value. Similar to the PROCESS_ALL_ACCESS in https://codereview.chromium.org/1337133002/ but I mistakenly only grepped for PROCESS_ALL_ACCESS at that point. R=mark@chromium.org BUG=crashpad:50 Committed: https://chromium.googlesource.com/crashpad/crashpad/+/c3cc1d19c1f0ec0d78fa26d8604d8b598f014d9b

Patch Set 1 #

Patch Set 2 : ws #

Total comments: 10

Patch Set 3 : more expects, ErrorMessage #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : more checks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -7 lines) Patch
M util/win/scoped_process_suspend_test.cc View 1 2 3 4 5 2 chunks +18 lines, -6 lines 0 comments Download
M util/win/xp_compat.h View 1 1 chunk +8 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 6 (0 generated)
scottmg
https://codereview.chromium.org/1337653005/diff/20001/util/win/xp_compat.h File util/win/xp_compat.h (right): https://codereview.chromium.org/1337653005/diff/20001/util/win/xp_compat.h#newcode35 util/win/xp_compat.h:35: kXPThreadAllAccess = STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0x3FF, I could ...
5 years, 3 months ago (2015-09-11 22:51:01 UTC) #1
Mark Mentovai
LGTM https://codereview.chromium.org/1337653005/diff/20001/util/win/scoped_process_suspend_test.cc File util/win/scoped_process_suspend_test.cc (right): https://codereview.chromium.org/1337653005/diff/20001/util/win/scoped_process_suspend_test.cc#newcode50 util/win/scoped_process_suspend_test.cc:50: EXPECT_TRUE(thread.is_valid()); ASSERT_TRUE()? Otherwise everything that follows is suspect ...
5 years, 3 months ago (2015-09-11 23:03:33 UTC) #2
scottmg
https://codereview.chromium.org/1337653005/diff/20001/util/win/scoped_process_suspend_test.cc File util/win/scoped_process_suspend_test.cc (right): https://codereview.chromium.org/1337653005/diff/20001/util/win/scoped_process_suspend_test.cc#newcode50 util/win/scoped_process_suspend_test.cc:50: EXPECT_TRUE(thread.is_valid()); On 2015/09/11 23:03:33, Mark Mentovai - August is ...
5 years, 3 months ago (2015-09-11 23:32:52 UTC) #3
Mark Mentovai
LGTM https://codereview.chromium.org/1337653005/diff/20001/util/win/scoped_process_suspend_test.cc File util/win/scoped_process_suspend_test.cc (right): https://codereview.chromium.org/1337653005/diff/20001/util/win/scoped_process_suspend_test.cc#newcode50 util/win/scoped_process_suspend_test.cc:50: EXPECT_TRUE(thread.is_valid()); scottmg wrote: > On 2015/09/11 23:03:33, Mark ...
5 years, 3 months ago (2015-09-11 23:36:28 UTC) #4
scottmg
https://codereview.chromium.org/1337653005/diff/20001/util/win/scoped_process_suspend_test.cc File util/win/scoped_process_suspend_test.cc (right): https://codereview.chromium.org/1337653005/diff/20001/util/win/scoped_process_suspend_test.cc#newcode54 util/win/scoped_process_suspend_test.cc:54: ResumeThread(thread.get()); On 2015/09/11 23:36:28, Mark Mentovai - August is ...
5 years, 3 months ago (2015-09-11 23:43:46 UTC) #5
scottmg
5 years, 3 months ago (2015-09-11 23:45:50 UTC) #6
Message was sent while issue was closed.
Committed patchset #6 (id:80002) manually as
c3cc1d19c1f0ec0d78fa26d8604d8b598f014d9b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698