Skip to contentSkip to conversation

Allow CTS Test apps to access to system_data_file

PATCH Applied Haiqing Jiang 2 participants 2 messages Jul 27, 2012 – Jul 30, 2012 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Allow CTS Test apps to access to system_data_file

---
 app.te |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
app.te +1 -1
index 41866d9..b9b5a17 100644
@@ -117,7 +117,7 @@ allow untrusted_app sdcard:file create_file_perms;
 }
 # Native app support.
 bool app_ndk false;
-if (app_ndk) {
+if (app_ndk or android_cts) {
 allow untrusted_app system_data_file:file { execute open };
 }
 
Signature · 7 lines
1.7.0.4


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#1 lore raw
Quoted 3 lines · Haiqing Jiang
---
 app.te |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Thanks, applied.

Quoted 14 lines
app.te +1 -1
index 41866d9..b9b5a17 100644
@@ -117,7 +117,7 @@ allow untrusted_app sdcard:file create_file_perms;
 }
 # Native app support.
 bool app_ndk false;
-if (app_ndk) {
+if (app_ndk or android_cts) {
 allow untrusted_app system_data_file:file { execute open };
 }
 
Signature · 8 lines
Stephen Smalley
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.