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

Issue 1328703003: Correct PROCESS_BASIC_INFORMATION for 64 bit Windows. (Closed)

Created:
5 years, 3 months ago by rickyz (no longer on Chrome)
Modified:
5 years, 3 months ago
Reviewers:
Will Harris, scottmg
CC:
chromium-reviews, wfh+watch_chromium.org, rickyz+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Correct PROCESS_BASIC_INFORMATION for 64 bit Windows. Based on the structure given at https://msdn.microsoft.com/en-us/library/windows/desktop/ms684280(v=vs.85).aspx. BUG=528450 Committed: https://crrev.com/45e371a2d7ce5048144695aa62d1e196ec19afd2 Cr-Commit-Position: refs/heads/master@{#347842}

Patch Set 1 #

Patch Set 2 : Update BUILD.gn. #

Total comments: 2

Patch Set 3 : Fix file path in BUILD.gn #

Patch Set 4 : Rebase #

Total comments: 6

Patch Set 5 : Use unions instead of forcing callers to cast. #

Patch Set 6 : Avoid PROCESS_ALL_ACCESS for Windows XP. #

Patch Set 7 : Remove extra include #

Total comments: 2

Patch Set 8 : Split test into smaller pieces. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -9 lines) Patch
M sandbox/win/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M sandbox/win/sandbox_win.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M sandbox/win/src/nt_internals.h View 1 2 3 4 1 chunk +17 lines, -5 lines 0 comments Download
M sandbox/win/src/policy_broker.h View 1 chunk +3 lines, -0 lines 0 comments Download
M sandbox/win/src/policy_broker.cc View 2 chunks +9 lines, -1 line 0 comments Download
M sandbox/win/src/sandbox_nt_util.cc View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
A sandbox/win/src/sandbox_nt_util_unittest.cc View 1 2 3 4 5 6 7 1 chunk +47 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
rickyz (no longer on Chrome)
5 years, 3 months ago (2015-09-02 22:39:02 UTC) #2
Will Harris
https://codereview.chromium.org/1328703003/diff/20001/sandbox/win/BUILD.gn File sandbox/win/BUILD.gn (right): https://codereview.chromium.org/1328703003/diff/20001/sandbox/win/BUILD.gn#newcode249 sandbox/win/BUILD.gn:249: "src/sandbox_nt_util.cc", I think you mean _unittest.cc here?
5 years, 3 months ago (2015-09-03 00:00:04 UTC) #3
rickyz (no longer on Chrome)
https://codereview.chromium.org/1328703003/diff/20001/sandbox/win/BUILD.gn File sandbox/win/BUILD.gn (right): https://codereview.chromium.org/1328703003/diff/20001/sandbox/win/BUILD.gn#newcode249 sandbox/win/BUILD.gn:249: "src/sandbox_nt_util.cc", On 2015/09/03 00:00:04, Will Harris wrote: > I ...
5 years, 3 months ago (2015-09-03 00:56:57 UTC) #4
Will Harris
+scottmg crashpad has this struct too https://code.google.com/p/chromium/codesearch#chromium/src/third_party/crashpad/crashpad/util/win/process_structs.h&sq=package:chromium&type=cs scott - should ExitStatus be PVOID or DWORD ...
5 years, 3 months ago (2015-09-03 04:25:42 UTC) #6
scottmg
https://codereview.chromium.org/1328703003/diff/60001/sandbox/win/src/nt_internals.h File sandbox/win/src/nt_internals.h (right): https://codereview.chromium.org/1328703003/diff/60001/sandbox/win/src/nt_internals.h#newcode314 sandbox/win/src/nt_internals.h:314: PVOID ExitStatus; This should be NTSTATUS on both x86 ...
5 years, 3 months ago (2015-09-03 16:18:53 UTC) #7
rickyz (no longer on Chrome)
https://codereview.chromium.org/1328703003/diff/60001/sandbox/win/src/nt_internals.h File sandbox/win/src/nt_internals.h (right): https://codereview.chromium.org/1328703003/diff/60001/sandbox/win/src/nt_internals.h#newcode314 sandbox/win/src/nt_internals.h:314: PVOID ExitStatus; On 2015/09/03 16:18:52, scottmg wrote: > This ...
5 years, 3 months ago (2015-09-03 19:16:29 UTC) #8
Will Harris
lgtm % nit https://codereview.chromium.org/1328703003/diff/120001/sandbox/win/src/sandbox_nt_util_unittest.cc File sandbox/win/src/sandbox_nt_util_unittest.cc (right): https://codereview.chromium.org/1328703003/diff/120001/sandbox/win/src/sandbox_nt_util_unittest.cc#newcode24 sandbox/win/src/sandbox_nt_util_unittest.cc:24: ASSERT_TRUE(current_process.IsValid()); some are EXPECT_TRUE and some ...
5 years, 3 months ago (2015-09-04 02:18:12 UTC) #9
Will Harris
is there a BUG= for this?
5 years, 3 months ago (2015-09-04 02:19:13 UTC) #10
rickyz (no longer on Chrome)
https://codereview.chromium.org/1328703003/diff/120001/sandbox/win/src/sandbox_nt_util_unittest.cc File sandbox/win/src/sandbox_nt_util_unittest.cc (right): https://codereview.chromium.org/1328703003/diff/120001/sandbox/win/src/sandbox_nt_util_unittest.cc#newcode24 sandbox/win/src/sandbox_nt_util_unittest.cc:24: ASSERT_TRUE(current_process.IsValid()); On 2015/09/04 02:18:12, Will Harris wrote: > some ...
5 years, 3 months ago (2015-09-08 21:51:39 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1328703003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1328703003/140001
5 years, 3 months ago (2015-09-08 21:52:23 UTC) #14
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 3 months ago (2015-09-09 00:13:22 UTC) #15
commit-bot: I haz the power
5 years, 3 months ago (2015-09-09 00:13:58 UTC) #16
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/45e371a2d7ce5048144695aa62d1e196ec19afd2
Cr-Commit-Position: refs/heads/master@{#347842}

Powered by Google App Engine
This is Rietveld 408576698