android_device_lenovo_msm89.../sepolicy/file_contexts
Isaac Chen 724868de36 msm8937-common: sepolicy: Organize for treble compatibility
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-09 00:00:20 +08:00

30 lines
1.2 KiB
Text

# Biometric
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.xiaomi_msm8937 u:object_r:hal_fingerprint_msm8937_exec:s0
# Bluetooth
/(vendor|system/vendor)/bin/hci_qcomm_init u:object_r:bluetooth_loader_exec:s0
# Block devices
/dev/block/bootdevice/by-name/persist u:object_r:persist_block_device:s0
/dev/block/bootdevice/by-name/userdata u:object_r:userdata_block_device:s0
# Fpc Fingerprint
/data/fpc(/.*)? u:object_r:fpc_data_file:s0
/dev/socket/fpce(/.*)? u:object_r:fpce_socket:s0
/sys/devices/soc/soc:fpc1020(/.*)? u:object_r:fpc_sysfs:s0
# For Goodix fingerprint
/dev/gf66xx-spi u:object_r:gx_fpd_device:s0
/dev/ttyACM[0-9]* u:object_r:gx_fpd_device:s0
/dev/goodix_fp* u:object_r:gx_fpd_device:s0
/(vendor|system/vendor)/bin/gx_fpd u:object_r:gx_fpd_exec:s0
# Goodix Fingerprint data
/data/system/fingerprint(/.*)? u:object_r:gx_fpd_data_file:s0
/persist/data/gxfp(/.*)? u:object_r:gx_fpd_data_file:s0
# Ir
/dev/lirc[0-9]* u:object_r:lirc_device:s0
# Light
/sys/devices/soc/78b6000\.i2c/i2c-2/2-[0-9a-f]+/leds(/.*)? u:object_r:sysfs_leds:s0