From f01453ad453b29dd723838984ea03978167491e5 Mon Sep 17 00:00:00 2001
From: Nick Kralevich <nnk@google.com>
Date: Wed, 9 Dec 2015 08:47:02 -0800
Subject: [PATCH] Remove core_property_type from ctl_* properties

Per https://android-review.googlesource.com/185392 , ctl.* properties
are not represented as files in the filesystem. So there's no need
to grant read access to them, since it's pointless.

Remove core_property_type from these properties, which has the net
effect of removing read access to these non-existent files.

Change-Id: Ic1ca574668a3511c335a7036a2bb7993ff02c1e3
---
 property.te | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/property.te b/property.te
index 2c4084f14..5d6714203 100644
--- a/property.te
+++ b/property.te
@@ -12,15 +12,15 @@ type net_radio_prop, property_type, core_property_type;
 type system_radio_prop, property_type, core_property_type;
 type system_prop, property_type, core_property_type;
 type vold_prop, property_type, core_property_type;
-type ctl_bootanim_prop, property_type, core_property_type;
-type ctl_default_prop, property_type, core_property_type;
-type ctl_dhcp_pan_prop, property_type, core_property_type;
-type ctl_dumpstate_prop, property_type, core_property_type;
-type ctl_fuse_prop, property_type, core_property_type;
-type ctl_mdnsd_prop, property_type, core_property_type;
-type ctl_rildaemon_prop, property_type, core_property_type;
-type ctl_bugreport_prop, property_type, core_property_type;
-type ctl_console_prop, property_type, core_property_type;
+type ctl_bootanim_prop, property_type;
+type ctl_default_prop, property_type;
+type ctl_dhcp_pan_prop, property_type;
+type ctl_dumpstate_prop, property_type;
+type ctl_fuse_prop, property_type;
+type ctl_mdnsd_prop, property_type;
+type ctl_rildaemon_prop, property_type;
+type ctl_bugreport_prop, property_type;
+type ctl_console_prop, property_type;
 type audio_prop, property_type, core_property_type;
 type logd_prop, property_type, core_property_type;
 type restorecon_prop, property_type, core_property_type;
-- 
GitLab