Rename system_radio_prop
For whatever reason sys.usb.config* has been labeled as
system_radio_prop, which doesn't make sense. Changing context name as
usb_prop. For the same reason exported_system_radio_prop is also
renamed to usb-related names.
Bug: 71814576
Bug: 154885206
Test: m selinux_policy
Change-Id: If30bc620dbeac926a8b9bcde908357fda739a6c1
Merged-In: If30bc620dbeac926a8b9bcde908357fda739a6c1
(cherry picked from commit 44fbcdb677d040a7ff9949db8457347a5299b4a0)
diff --git a/private/property.te b/private/property.te
index 0ea7a40..fd8ea3b 100644
--- a/private/property.te
+++ b/private/property.te
@@ -86,7 +86,7 @@
-restorecon_prop
-shell_prop
-system_prop
- -system_radio_prop
+ -usb_prop
-vold_prop
}:file no_rw_file_perms;
@@ -137,11 +137,11 @@
exported_default_prop
exported_dumpstate_prop
exported_system_prop
- exported_system_radio_prop
exported2_default_prop
exported2_system_prop
exported3_default_prop
exported3_system_prop
+ usb_control_prop
-nfc_prop
-powerctl_prop
-radio_prop
@@ -235,7 +235,6 @@
core_property_type
dalvik_config_prop
extended_core_property_type
- exported_system_radio_prop
exported2_system_prop
exported3_default_prop
exported3_system_prop
@@ -361,3 +360,11 @@
-system_server
-vendor_init
} dalvik_runtime_prop:property_service set;
+
+neverallow {
+ -coredomain
+ -vendor_init
+} {
+ usb_config_prop
+ usb_control_prop
+}:property_service set;