aboutsummaryrefslogtreecommitdiffstats
path: root/system_app.te
diff options
context:
space:
mode:
authorSharif Inamdar <isharif@nvidia.com>2015-01-13 19:26:54 +0530
committerNick Kralevich <nnk@google.com>2015-01-21 23:08:20 +0000
commit99b40521266450dca66a5375e8134bb1d3d5fbe0 (patch)
tree45c6f37d04e12eb01b5f32b93da0cd40020b1013 /system_app.te
parent9dc5956f09ad98f1f49b0d538b48443c2eb158a2 (diff)
downloadandroid_external_sepolicy-99b40521266450dca66a5375e8134bb1d3d5fbe0.tar.gz
android_external_sepolicy-99b40521266450dca66a5375e8134bb1d3d5fbe0.tar.bz2
android_external_sepolicy-99b40521266450dca66a5375e8134bb1d3d5fbe0.zip
Allow system_app to access /data/data link files
system_app tries to access files in /data/data (lnk_files). But due to permission issue it is not able to access the link files. Change-Id: I2959d899f5e3ab9caa219d684541d36587a6c059
Diffstat (limited to 'system_app.te')
-rw-r--r--system_app.te2
1 files changed, 1 insertions, 1 deletions
diff --git a/system_app.te b/system_app.te
index 1c50dff..2ea621c 100644
--- a/system_app.te
+++ b/system_app.te
@@ -10,7 +10,7 @@ binder_service(system_app)
# Read and write /data/data subdirectory.
allow system_app system_app_data_file:dir create_dir_perms;
-allow system_app system_app_data_file:file create_file_perms;
+allow system_app system_app_data_file:{ file lnk_file } create_file_perms;
# Read /data/misc/keychain subdirectory.
allow system_app keychain_data_file:dir r_dir_perms;