From 2b47c3fc351977b801d1c154bb7a8def2e784948 Mon Sep 17 00:00:00 2001
From: Haiqing Jiang <hqjiang1988@gmail.com>
Date: Fri, 27 Jul 2012 14:01:22 -0700
Subject: [PATCH] allocate perms to platformappdomain over system_data_file

---
 app.te | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app.te b/app.te
index 85de816f6..be0983fb4 100644
--- a/app.te
+++ b/app.te
@@ -83,6 +83,8 @@ allow platformappdomain platform_app_data_file:notdevfile_class_set create_file_
 # App sdcard file accesses
 allow platformappdomain sdcard:dir create_dir_perms;
 allow platformappdomain sdcard:file create_file_perms;
+# System data file accesses (e.g, shared objects from the lib directory)
+allow platformappdomain system_data_file:file { execute open };
 
 #
 # Untrusted apps.
-- 
GitLab