sm6150-common: sepolicy: Label Spi IR node
Change-Id: I550e823b11bbc8e37cffa164a2047d57d8a5499a Signed-off-by: raghavt20 <raghavt20@aospa.co>
This commit is contained in:
parent
5ef61b13a0
commit
4a67b5eb26
1
sepolicy/vendor/device.te
vendored
Normal file
1
sepolicy/vendor/device.te
vendored
Normal file
@ -0,0 +1 @@
|
||||
type lirc_device, dev_type;
|
3
sepolicy/vendor/file_contexts
vendored
3
sepolicy/vendor/file_contexts
vendored
@ -29,6 +29,9 @@
|
||||
/vendor/bin/hw/android\.hardware\.power-service\.xiaomi-libperfmgr u:object_r:hal_power_default_exec:s0
|
||||
/vendor/bin/hw/vendor\.lineage\.livedisplay@2\.1-service\.xiaomi_sm6150 u:object_r:hal_lineage_livedisplay_qti_exec:s0
|
||||
|
||||
# IR
|
||||
/dev/spidev[0-9]\.1 u:object_r:lirc_device:s0
|
||||
|
||||
# Remosaic
|
||||
/vendor/bin/remosaic_daemon u:object_r:remosaic_daemon_exec:s0
|
||||
|
||||
|
2
sepolicy/vendor/hal_ir_default.te
vendored
Normal file
2
sepolicy/vendor/hal_ir_default.te
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
allow hal_ir_default lirc_device:chr_file rw_file_perms;
|
||||
allow hal_ir_default lirc_device:file rw_file_perms;
|
Loading…
Reference in New Issue
Block a user