summaryrefslogtreecommitdiffstats
path: root/selinux/untrusted_app.te
diff options
context:
space:
mode:
authortilaksidduram <tilaksidduram@gmail.com>2015-12-21 21:36:04 +0530
committertilaksidduram <tilaksidduram@gmail.com>2015-12-22 19:54:22 +0530
commit0bf7364ac512f26be0373bf8810bd5c2cdc5c99d (patch)
tree10bcaf605808f2221c95c6eb9208db9b948c3d22 /selinux/untrusted_app.te
parentc44906d64a221421c303e36e1571f373984ef53a (diff)
downloaddevice_samsung_n7100-0bf7364ac512f26be0373bf8810bd5c2cdc5c99d.zip
device_samsung_n7100-0bf7364ac512f26be0373bf8810bd5c2cdc5c99d.tar.gz
device_samsung_n7100-0bf7364ac512f26be0373bf8810bd5c2cdc5c99d.tar.bz2
n7100: Bring in Selinux for M
* commits picked up from the i9300 device repo and made a few changes for n7100 credits to keepcalm444
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;