summaryrefslogtreecommitdiff
path: root/sepolicy/file_contexts
diff options
context:
space:
mode:
authorIsaac Chen <isaacchen@isaacchen.cn>2018-08-05 01:59:32 +0200
committerIsaac Chen <isaacchen@isaacchen.cn>2018-08-05 00:00:16 +0000
commitd6ed30131a678393fc0a9df6e5f2de5762be5051 (patch)
tree81617350519cf784c8985465b91e47058bb20454 /sepolicy/file_contexts
parent3eebbc8ec139b898e0393c88ceb0b6fa1bc7300b (diff)
wayne: sepolicy: Address IR denials
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
Diffstat (limited to 'sepolicy/file_contexts')
-rw-r--r--sepolicy/file_contexts3
1 files changed, 3 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 19a8402..6959397 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -14,6 +14,9 @@
# 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
+
# Light HAL
/(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service\.xiaomi_wayne u:object_r:hal_light_default_exec:s0