summaryrefslogtreecommitdiffstats
path: root/selinux/untrusted_app.te
diff options
context:
space:
mode:
authorforkbomb <keepcalm444@gmail.com>2015-11-27 23:53:05 +1100
committerSimon Shields <keepcalm444@gmail.com>2015-12-11 10:57:35 +1100
commit8d8ac23e55c865ce1d8f245f4ddea27792667688 (patch)
treebf3ed5619df7484368b9db623e83b94847e7e942 /selinux/untrusted_app.te
parent808d0b578511aac96a32101c3df523e6fed5b0d8 (diff)
downloaddevice_samsung_i9300-8d8ac23e55c865ce1d8f245f4ddea27792667688.zip
device_samsung_i9300-8d8ac23e55c865ce1d8f245f4ddea27792667688.tar.gz
device_samsung_i9300-8d8ac23e55c865ce1d8f245f4ddea27792667688.tar.bz2
i9300: M sepolicy bringup
GPS fixes taken from grouper: https://github.com/CyanogenMod/android_device_asus_grouper/commit/9651b24fb481bf0fc1db3b1d700033cf66eb067e and https://github.com/CyanogenMod/android_device_asus_grouper/commit/f5592571d581478622f0fc3f86fbbddf20cf89c7 Change-Id: I7ec658691c65c3b6c087ee41ba69f2cb37ade525
Diffstat (limited to 'selinux/untrusted_app.te')
-rw-r--r--selinux/untrusted_app.te5
1 files changed, 5 insertions, 0 deletions
diff --git a/selinux/untrusted_app.te b/selinux/untrusted_app.te
new file mode 100644
index 0000000..f9c5bde
--- /dev/null
+++ b/selinux/untrusted_app.te
@@ -0,0 +1,5 @@
+allow untrusted_app storage_stub_file:dir getattr;
+allow untrusted_app log_device:chr_file { read write };
+allow untrusted_app self:udp_socket ioctl;
+allow untrusted_app app_data_file:file create_file_perms;
+allow untrusted_app app_data_file:dir create_dir_perms;