aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/file_contexts
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2019-03-03 16:39:11 +0100
committerDavide Garberi <dade.garberi@gmail.com>2019-03-03 13:56:06 +0100
commit96dcf9a4921e4c3d676b680252256dd7b6fc238f (patch)
tree7262b59844f0325d6c65fa1f6cabeab31088bfaf /sepolicy/file_contexts
parent871b3f0c0b1755d5b632db637f4ff402b9c417f2 (diff)
msm8996-common: sepolicy: Cleanup
* genfs_context cleanup after b5b41d341dd744c40d3908550daaafcee6fe7b4b in which it has randomly been imported from Marlin * Slightly cleanup indentation * Remove a lot of domains which were being used in genfs_context as most of it is already labelled differently in qcom common sepolicy and already addressed * Remove violators where not needed * Remove some old properties we're not using anymore Change-Id: Ic72853dfaf71ba3f0596e75d1bdd5b5c93cd70be
Diffstat (limited to 'sepolicy/file_contexts')
-rw-r--r--sepolicy/file_contexts33
1 files changed, 17 insertions, 16 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 12e3edd..ce36adc 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -1,26 +1,27 @@
-# Partitions
-/dev/block/platform/soc/(624000\.ufshc|7464900\.sdhci)/by-name/persist u:object_r:persist_block_device:s0
-
# Binaries
-/vendor/bin/wcg_mac_tool u:object_r:wcg_mac_exec:s0
-/vendor/bin/init.wlan.sh u:object_r:qti_init_shell_exec:s0
-
-# Devices
-/dev/fpc1020 u:object_r:fpc1020_device:s0
-/dev/tfa9890 u:object_r:audio_device:s0
-/sys/devices/soc/soc:fpc_fpc1020/proximity_state u:object_r:sysfs_fpc_proximity:s0
+/vendor/bin/init.wlan.sh u:object_r:qti_init_shell_exec:s0
+/vendor/bin/wcg_mac_tool u:object_r:wcg_mac_exec:s0
# Data files
/data/fpc(/.*)? u:object_r:fpc_data_file:s0
/data/decrypt\.txt u:object_r:thermal_data_file:s0
/data/vendor/qcam(/.*)? u:object_r:vendor_camera_data_file:s0
+# Devices
+/dev/fpc1020 u:object_r:fpc1020_device:s0
+/dev/tfa9890 u:object_r:audio_device:s0
+
# HALs
-/vendor/bin/hw/android\.hardware\.light@2\.0-service\.zuk_8996 u:object_r:hal_light_default_exec:s0
-/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.0-service\.zuk u:object_r:hal_fingerprint_default_exec:s0
-/(vendor|system/vendor)/bin/hw/android\.hardware\.drm@1\.1-service\.widevine u:object_r:hal_drm_widevine_exec:s0
-/(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch@1\.0-service\.zuk_8996 u:object_r:hal_lineage_touch_default_exec:s0
+/vendor/bin/hw/android\.hardware\.light@2\.0-service\.zuk_8996 u:object_r:hal_light_default_exec:s0
+/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.0-service\.zuk u:object_r:hal_fingerprint_default_exec:s0
+/(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch@1\.0-service\.zuk_8996 u:object_r:hal_lineage_touch_default_exec:s0
# Misc files on /vendor
-/vendor/usr/idc(/.*)? u:object_r:idc_file:s0
-/vendor/usr/keylayout(/.*)? u:object_r:keylayout_file:s0
+/vendor/usr/idc(/.*)? u:object_r:idc_file:s0
+/vendor/usr/keylayout(/.*)? u:object_r:keylayout_file:s0
+
+# Sys files
+/sys/devices/soc/soc:fpc1020(/.*)? u:object_r:sysfs_fingerprint:s0
+/sys/devices/soc/soc:fpc1020/proximity_state u:object_r:sysfs_fingerprint:s0
+/sys/devices/soc/soc:fpc1020/irq u:object_r:sysfs_fingerprint:s0
+/sys/devices/soc/soc:fpc1020/utouch_disable u:object_r:sysfs_fingerprint:s0