summaryrefslogtreecommitdiff
path: root/sepolicy
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@lineageos.org>2020-02-19 20:34:08 +0800
committerMichael Bestas <mkbestas@lineageos.org>2020-04-30 00:49:34 +0300
commit8712367a2217bd2ab8efbaecff4756594ef7543a (patch)
treeef7da314a9554954141d6f9f2caecb0d3d00de3b /sepolicy
parenta1410fdaa47a6e100cea08cca8ce8a1e3c4690a6 (diff)
sdm660-common: sepolicy: Label IR dev node for jason
Change-Id: I7ba6af074485509a501f656587379fb0ba5b07d3
Diffstat (limited to 'sepolicy')
-rw-r--r--sepolicy/vendor/file_contexts1
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts
index 42e95ab..d9e7b6d 100644
--- a/sepolicy/vendor/file_contexts
+++ b/sepolicy/vendor/file_contexts
@@ -27,6 +27,7 @@
/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/lirc0 u:object_r:spidev_device:s0
/dev/spidev7.1 u:object_r:spidev_device:s0
# Keylayout