From 96bf5059621cd3903e1a402b2c90dbb652aedf90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michal=20Ma=C5=A1ek?= <michal.masek@circletech.net>
Date: Wed, 11 Jul 2012 16:32:20 +0200
Subject: [PATCH] Fix the app_ndk policy boolean allow rule.

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

diff --git a/app.te b/app.te
index 19d387ff4..2ea00f1d0 100644
--- a/app.te
+++ b/app.te
@@ -103,7 +103,7 @@ allow untrusted_app sdcard:file create_file_perms;
 # Native app support.
 bool app_ndk false;
 if (app_ndk) {
-allow untrusted_app app_data_file:file execute;
+allow untrusted_app system_data_file:file { execute open };
 }
 
 #
-- 
GitLab