From 99b40521266450dca66a5375e8134bb1d3d5fbe0 Mon Sep 17 00:00:00 2001
From: Sharif Inamdar <isharif@nvidia.com>
Date: Tue, 13 Jan 2015 19:26:54 +0530
Subject: [PATCH] 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
---
 system_app.te | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/system_app.te b/system_app.te
index 1c50dff9e..2ea621c48 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;
-- 
GitLab