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

Issue 909373004: Sandbox: Add support for file system policies that use implied device paths. (Closed)

Created:
5 years, 10 months ago by rvargas (doing something else)
Modified:
5 years, 8 months ago
Reviewers:
cpu_(ooo_6.6-7.5)
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

Sandbox: Add support for file system policies that use implied device paths. A policy rule of the form \HarddiskVolume0\Foo\bar allows sandboxed code to use \\.\HarddiskVolume0\Foo\bar directly. BUG=111155 TEST=sbox_integration_tests Committed: https://crrev.com/0e49d029d5a1a25d971880b9e44d67ac70b31a80 Cr-Commit-Position: refs/heads/master@{#323295}

Patch Set 1 #

Total comments: 15

Patch Set 2 : Helpers #

Total comments: 1

Patch Set 3 : Const ref #

Patch Set 4 : elf workaround #

Patch Set 5 : Use IsWindows7OrGreater #

Patch Set 6 : Fix browser tests #

Patch Set 7 : Fix XP #

Patch Set 8 : Remove stale header #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -46 lines) Patch
M sandbox/win/src/file_policy_test.cc View 4 chunks +33 lines, -1 line 0 comments Download
M sandbox/win/src/filesystem_policy.cc View 1 2 3 4 5 6 2 chunks +10 lines, -11 lines 0 comments Download
M sandbox/win/src/win_utils.h View 1 chunk +2 lines, -2 lines 0 comments Download
M sandbox/win/src/win_utils.cc View 1 2 3 4 5 6 7 7 chunks +140 lines, -32 lines 0 comments Download

Messages

Total messages: 27 (7 generated)
rvargas (doing something else)
5 years, 10 months ago (2015-02-11 00:34:21 UTC) #2
cpu_(ooo_6.6-7.5)
: error LNK2019: unresolved external symbol __imp__CharUpperW@4 referenced in function "public: static int __cdecl base::FilePath::CompareIgnoreCase
5 years, 10 months ago (2015-02-11 00:42:58 UTC) #3
rvargas (doing something else)
On 2015/02/11 00:42:58, cpu wrote: > : error LNK2019: unresolved external symbol __imp__CharUpperW@4 referenced in ...
5 years, 10 months ago (2015-02-11 01:08:12 UTC) #4
cpu_(ooo_6.6-7.5)
I need a bit more time to run the changes in my head. https://codereview.chromium.org/909373004/diff/1/sandbox/win/src/win_utils.cc File ...
5 years, 10 months ago (2015-02-13 19:27:37 UTC) #5
rvargas (doing something else)
Take your time. https://codereview.chromium.org/909373004/diff/1/sandbox/win/src/win_utils.cc File sandbox/win/src/win_utils.cc (right): https://codereview.chromium.org/909373004/diff/1/sandbox/win/src/win_utils.cc#newcode53 sandbox/win/src/win_utils.cc:53: bool IsDevicePath(const base::string16& path, base::string16* trimmed_path ...
5 years, 10 months ago (2015-02-13 19:43:05 UTC) #6
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/909373004/diff/1/sandbox/win/src/win_utils.cc File sandbox/win/src/win_utils.cc (right): https://codereview.chromium.org/909373004/diff/1/sandbox/win/src/win_utils.cc#newcode53 sandbox/win/src/win_utils.cc:53: bool IsDevicePath(const base::string16& path, base::string16* trimmed_path ) { On ...
5 years, 10 months ago (2015-02-17 21:59:46 UTC) #7
rvargas (doing something else)
https://codereview.chromium.org/909373004/diff/1/sandbox/win/src/win_utils.cc File sandbox/win/src/win_utils.cc (right): https://codereview.chromium.org/909373004/diff/1/sandbox/win/src/win_utils.cc#newcode179 sandbox/win/src/win_utils.cc:179: path.rfind(L'\\') == kNTDotPrefixLen - 1) { On 2015/02/17 21:59:45, ...
5 years, 10 months ago (2015-02-17 22:59:29 UTC) #8
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/909373004/diff/20001/sandbox/win/src/win_utils.cc File sandbox/win/src/win_utils.cc (right): https://codereview.chromium.org/909373004/diff/20001/sandbox/win/src/win_utils.cc#newcode39 sandbox/win/src/win_utils.cc:39: bool EqualPath(base::string16 first, base::string16 second) { by const ref? ...
5 years, 10 months ago (2015-02-17 23:55:27 UTC) #9
cpu_(ooo_6.6-7.5)
other than that lgtm
5 years, 10 months ago (2015-02-18 16:04:06 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/909373004/40001
5 years, 10 months ago (2015-02-18 20:41:06 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/27745)
5 years, 10 months ago (2015-02-18 22:04:04 UTC) #14
rvargas (doing something else)
Please take a look at the latest version. (PS4)
5 years, 9 months ago (2015-03-20 23:23:53 UTC) #15
cpu_(ooo_6.6-7.5)
lgtm
5 years, 9 months ago (2015-03-24 19:14:28 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/909373004/80001
5 years, 9 months ago (2015-03-24 19:43:40 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_rel/builds/67104)
5 years, 9 months ago (2015-03-25 00:01:19 UTC) #20
rvargas (doing something else)
... And another change (hopefully the last one)
5 years, 8 months ago (2015-03-30 19:49:06 UTC) #21
cpu_(ooo_6.6-7.5)
remove the version helpers include, then lgtm
5 years, 8 months ago (2015-04-01 17:32:27 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/909373004/140001
5 years, 8 months ago (2015-04-01 17:38:18 UTC) #25
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 8 months ago (2015-04-01 19:20:12 UTC) #26
commit-bot: I haz the power
5 years, 8 months ago (2015-04-01 19:21:14 UTC) #27
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/0e49d029d5a1a25d971880b9e44d67ac70b31a80
Cr-Commit-Position: refs/heads/master@{#323295}

Powered by Google App Engine
This is Rietveld 408576698