summaryrefslogtreecommitdiff
path: root/sepolicy
diff options
context:
space:
mode:
authorJeff Vander Stoep <jeffv@google.com>2015-08-03 13:26:31 -0700
committerJeff Vander Stoep <jeffv@google.com>2015-08-03 14:27:56 -0700
commite6a2eaf32bc80dee6012376145b1d2ef7d1e2ee9 (patch)
treea345b710f10b092de8efae4966581ef8a74e74d3 /sepolicy
parent894468f8c1f9bc03237e547771acfd8546d056f6 (diff)
downloadbullhead-e6a2eaf32bc80dee6012376145b1d2ef7d1e2ee9.tar.gz
selinux: Make diag_device mlstrustedobject
Bug: 22799997 Change-Id: Ia465fe1a517447d4d41ca7b4a1ae396939add8e0
Diffstat (limited to 'sepolicy')
-rw-r--r--sepolicy/device.te2
-rw-r--r--sepolicy/platform_app.te2
2 files changed, 1 insertions, 3 deletions
diff --git a/sepolicy/device.te b/sepolicy/device.te
index d128b89..e871a7a 100644
--- a/sepolicy/device.te
+++ b/sepolicy/device.te
@@ -1,5 +1,5 @@
#Define the logging device type
-type diag_device, dev_type;
+type diag_device, dev_type, mlstrustedobject;
type smem_log_device, dev_type;
type ramdump_device, dev_type;
diff --git a/sepolicy/platform_app.te b/sepolicy/platform_app.te
index 35e46e6..f366a64 100644
--- a/sepolicy/platform_app.te
+++ b/sepolicy/platform_app.te
@@ -1,5 +1,3 @@
-permissive platform_app;
-
userdebug_or_eng(`
# qxdmlogger access to /data/diag_logs.
allow platform_app diag_logs:dir rw_dir_perms;