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

Issue 321293002: Censor dart:_blink and dart:builtin from the enumeration of libraries in the isolate and from impor… (Closed)

Created:
6 years, 6 months ago by rmacnak
Modified:
6 years, 6 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Censor dart:_blink and dart:builtin from the enumeration of libraries in the isolate and from import lists. Note we are not censoring dart:_internal. For the moment, this doesn't seem to break any language invariants, but that may happen if a) the censored libraries start producing instances, whose classes would claim to have no library b) types from the censored libraries are used in type annotations in the privileged libraries that can import them, resulting in types other than dynamic that claim to belong to no library R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=37238

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -10 lines) Patch
M runtime/lib/mirrors.cc View 6 chunks +26 lines, -9 lines 0 comments Download
M tests/lib/mirrors/mirrors_reader_test.dart View 1 chunk +14 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
rmacnak
RFC
6 years, 6 months ago (2014-06-10 22:32:56 UTC) #1
Jacob
I think Dart_GetLibraryIds should also censor these libraries.
6 years, 6 months ago (2014-06-11 04:35:43 UTC) #2
Jacob
On 2014/06/11 04:35:43, Jacob wrote: > I think Dart_GetLibraryIds should also censor these libraries. As ...
6 years, 6 months ago (2014-06-11 04:49:56 UTC) #3
rmacnak
6 years, 6 months ago (2014-06-11 17:35:48 UTC) #4
Ivan Posva
LGTM This will need a bit more complete assessment as to what can be accessed ...
6 years, 6 months ago (2014-06-11 17:56:39 UTC) #5
rmacnak
Committed patchset #1 manually as r37238 (presubmit successful).
6 years, 6 months ago (2014-06-11 17:58:24 UTC) #6
kasperl
6 years, 6 months ago (2014-06-12 07:45:16 UTC) #7
Message was sent while issue was closed.
Is this something we should merge to trunk to fix dartbug.com/19331? Please file
a merge request if so.

Powered by Google App Engine
This is Rietveld 408576698