summaryrefslogtreecommitdiff
path: root/sepolicy/file_contexts
diff options
context:
space:
mode:
authorIsaac Chen <tingyi364@gmail.com>2019-07-24 06:04:32 +0200
committerIsaac Chen <tingyi364@gmail.com>2019-09-01 16:44:11 +0200
commit915e5bfa31e8f1f725e9e3461370c8535017d2e8 (patch)
treeeecdd755c743e62069dba2b46622ab8813650fa0 /sepolicy/file_contexts
parenteb15173eee7fe3a19fea03da5c06cba1cdb091ad (diff)
wayne-common: Address denials for P
Signed-off-by: Isaac Chen <tingyi364@gmail.com> Change-Id: I6759914e91c1cc437304d74328e970daeb3d25e3
Diffstat (limited to 'sepolicy/file_contexts')
-rw-r--r--sepolicy/file_contexts17
1 files changed, 16 insertions, 1 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 19975c3..6939ff5 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -9,22 +9,37 @@
# Goodix Fingerprint data
/data/gf_data/frr_database.db u:object_r:fingerprint_data_file:s0
+/data/misc/gf_data(/.*)? u:object_r:fingerprint_data_file:s0
+/data/misc/goodix(/.*)? u:object_r:fingerprint_data_file:s0
/persist/data/gf* u:object_r:fingerprint_data_file:s0
+# Fpc Fingerprint data
+/persist/fpc(/.*)? u:object_r:fingerprint_data_file:s0
+
# HVDCP
/sys/devices(/platform)?/soc/[a-z0-9]+\.i2c/i2c-[0-9]+/[0-9]+-[a-z0-9]+/[a-z0-9]+\.i2c:qcom,[a-z0-9]+@[a-z0-9]:qcom,smb[a-z0-9]+-parallel-slave@[0-9]+/power_supply/parallel(/.*)? u:object_r:sysfs_usb_supply:s0
# IR
/dev/spidev7.1 u:object_r:spidev_device:s0
+# Keylayout
+/vendor/usr/idc(/.*)? u:object_r:vendor_keylayout_file:s0
+/vendor/usr/keylayout(/.*)? u:object_r:vendor_keylayout_file:s0
+
# Light HAL
/(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service\.xiaomi_wayne u:object_r:hal_light_default_exec:s0
# Mlipay
-/(vendor|system/vendor)/bin/mlipayd u:object_r:hal_mlipay_default_exec:s0
+/(vendor|system/vendor)/bin/mlipayd@1.1 u:object_r:hal_mlipay_default_exec:s0
# Persist
/persist/PRSensorData\.txt u:object_r:sensors_persist_file:s0
+# RTC
+/sys/devices/soc/800f000.qcom,spmi/spmi-0/spmi0-00/800f000.qcom,spmi:qcom,pm660@0:qcom,pm660_rtc/rtc/rtc0(/.*)? u:object_r:sysfs_rtc:s0
+
# Shell Script
/(vendor|system/vendor)/bin/init\.goodix\.sh u:object_r:init_fingerprint_exec:s0
+
+# Thermal
+/data/vendor/thermal(/.*)? u:object_r:thermal_data_file:s0