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

Issue 11734030: Small extra validations on permission checks: reject "0" as a valid permission (Closed)

Created:
7 years, 11 months ago by Chris Evans
Modified:
7 years, 10 months ago
Reviewers:
Charlie Reis
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Small extra validations on permission checks: reject "0" as a valid permission mask and require the path be absolute. Also add some per-file security owners to child_process_security_policy_impl.cc since it is gughly sensitive.

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -41 lines) Patch
M content/browser/OWNERS View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/child_process_security_policy_impl.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/child_process_security_policy_unittest.cc View 1 2 3 6 chunks +41 lines, -41 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Chris Evans
7 years, 11 months ago (2013-01-04 00:53:32 UTC) #1
Charlie Reis
LGTM, once you've landed the IsAbsolute() fix on Windows. Good thinking on the owners file.
7 years, 11 months ago (2013-01-04 01:18:13 UTC) #2
Charlie Reis
https://codereview.chromium.org/11734030/diff/7001/content/browser/child_process_security_policy_unittest.cc File content/browser/child_process_security_policy_unittest.cc (right): https://codereview.chromium.org/11734030/diff/7001/content/browser/child_process_security_policy_unittest.cc#newcode356 content/browser/child_process_security_policy_unittest.cc:356: FilePath relative_file = FilePath(TEST_PATH("home/joe")); Isn't this going to result ...
7 years, 11 months ago (2013-01-04 20:59:34 UTC) #3
Chris Evans
On 2013/01/04 20:59:34, creis wrote: > https://codereview.chromium.org/11734030/diff/7001/content/browser/child_process_security_policy_unittest.cc > File content/browser/child_process_security_policy_unittest.cc (right): > > https://codereview.chromium.org/11734030/diff/7001/content/browser/child_process_security_policy_unittest.cc#newcode356 > ...
7 years, 11 months ago (2013-01-04 21:08:16 UTC) #4
Charlie Reis
LGTM.
7 years, 11 months ago (2013-01-04 21:10:59 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cevans@chromium.org/11734030/13001
7 years, 11 months ago (2013-01-05 01:05:52 UTC) #6
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests
7 years, 11 months ago (2013-01-05 02:01:12 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cevans@chromium.org/11734030/13001
7 years, 11 months ago (2013-01-05 02:39:44 UTC) #8
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) sync_unit_tests, unit_tests
7 years, 11 months ago (2013-01-05 02:58:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cevans@chromium.org/11734030/13001
7 years, 11 months ago (2013-01-07 20:52:20 UTC) #10
commit-bot: I haz the power
7 years, 11 months ago (2013-01-07 21:50:57 UTC) #11
Message was sent while issue was closed.
Change committed as 175390

Powered by Google App Engine
This is Rietveld 408576698