Skip to content
Snippets Groups Projects
Commit 52c36410 authored by Daniel Rosenberg's avatar Daniel Rosenberg Committed by android-build-merger
Browse files

isolated_app.te: Give permissions for using sdcardfs am: 02bf4aad am: e7bacff2

am: c69bb0fe

Change-Id: I895a471d89491f31d51cde5ab17a16a9ada5b808
parents ff7a10ae c69bb0fe
Branches
Tags
No related merge requests found
...@@ -30,8 +30,10 @@ allow isolated_app self:process ptrace; ...@@ -30,8 +30,10 @@ allow isolated_app self:process ptrace;
# neverallow rules below. # neverallow rules below.
# TODO: consider removing write/append. We want to limit isolated_apps # TODO: consider removing write/append. We want to limit isolated_apps
# ability to mutate files of any type. # ability to mutate files of any type.
allow isolated_app sdcard_type:file { read write append getattr lock }; # media_rw_data_file is included for sdcardfs, and can be removed if sdcardfs
auditallow isolated_app sdcard_type:file { write append }; # is modified to change the secontext when accessing the lower filesystem.
allow isolated_app { sdcard_type media_rw_data_file }:file { read write append getattr lock };
auditallow isolated_app { sdcard_type media_rw_data_file }:file { write append };
# For webviews, isolated_app processes can be forked from the webview_zygote # For webviews, isolated_app processes can be forked from the webview_zygote
# in addition to the zygote. Allow access to resources inherited from the # in addition to the zygote. Allow access to resources inherited from the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment