common: Add public properties
authorAndreas Schneider <asn@cryptomilk.org>
Sat, 21 Mar 2020 17:00:59 +0000 (18:00 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 1 Apr 2020 05:43:22 +0000 (07:43 +0200)
Change-Id: I6b7585681244c9b7e0b030538e97212776ca657e

common/private/property_contexts [new file with mode: 0644]
common/public/property.te [new file with mode: 0644]

diff --git a/common/private/property_contexts b/common/private/property_contexts
new file mode 100644 (file)
index 0000000..78b6687
--- /dev/null
@@ -0,0 +1,21 @@
+### BLUETOOTH
+sys.bluetooth.tty                            u:object_r:vendor_public_bluetooth_prop:s0
+
+### CAMERA
+system.camera.CC.                            u:object_r:vendor_public_camera_prop:s0
+service.camera.                              u:object_r:vendor_public_camera_prop:s0
+sys.cameramode.                              u:object_r:vendor_public_camera_prop:s0
+
+### CSC
+ro.csc.                                      u:object_r:vendor_public_csc_prop:s0
+
+### MDC
+mdc.                                         u:object_r:vendor_public_config_prop:s0
+
+### RADIO
+ril.NwNmId                                   u:object_r:vendor_public_radio_prop:s0
+ril.NwNmId2                                  u:object_r:vendor_public_radio_prop:s0
+ro.boot.cpboot                               u:object_r:vendor_public_radio_prop:s0
+
+### RFKILL
+ro.rfkilldisabled                            u:object_r:rfkilldisabled_prop:s0
diff --git a/common/public/property.te b/common/public/property.te
new file mode 100644 (file)
index 0000000..493aa7e
--- /dev/null
@@ -0,0 +1,17 @@
+### BLUETOOTH
+type vendor_public_bluetooth_prop, property_type;
+
+### CAMERA
+type vendor_public_camera_prop, property_type;
+
+### CSC
+type vendor_public_csc_prop, property_type;
+
+### MDC
+type vendor_public_config_prop, property_type;
+
+### RADIO
+type vendor_public_radio_prop, property_type;
+
+### RFKILL
+type rfkilldisabled_prop, property_type;