device_xiaomi_sweet/sepolicy/vendor/file_contexts
Arian 33c276f957
sweet: sepolicy: Address IR denials
Change-Id: I04dd5b7036614028c219534179c1dfa01010dbe9
2022-05-01 00:16:10 -04:00

14 lines
708 B
Plaintext

# IR
/dev/ir_spi u:object_r:vendor_ir_device:s0
# Proximity
/sys/bus/iio/devices u:object_r:vendor_sysfs_iio:s0
/sys/devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-04/c440000.qcom,spmi:qcom,pm6150l@4:vadc@3100/iio:device1(/.*)? u:object_r:vendor_sysfs_iio:s0
/sys/devices/platform/us_prox.0/iio:device2(/.*)? u:object_r:vendor_sysfs_iio:s0
# Battery secret
/vendor/bin/batterysecret u:object_r:batterysecret_exec:s0
# Persist subsystem
/mnt/vendor/persist/subsys(/.*)? u:object_r:persist_subsys_file:s0