Chromium Code Reviews
DescriptionMake SharedPrefs apply package's security context on commit
If SharedPrefs created a new shared preference file, the app could not
read it due to SELinux security. Applying /data/data/<package>'s
security context to /data/data/<package>/shared_prefs fixes this.
BUG=chromium:671373
, catapult:#3366
Review-Url: https://codereview.chromium.org/2743003003
Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/4550ebce30c0593fb85be7890b84b942e8b7af57
Patch Set 1 #
Total comments: 4
Patch Set 2 : Split out context code, limit to M+ #
Total comments: 4
Patch Set 3 : Raise exception when no context found and fix tests #
Total comments: 2
Messages
Total messages: 15 (4 generated)
|
||||||||||||||||||||||||||||