sepolicy_vndr: Allow recovery to read sysfs to get mmc type for SDExpress

Change-Id: I67a01bd3de2c0ea152418e4cb866a81faa0bce07
This commit is contained in:
LAVEENA FULWANI 2022-09-13 18:12:55 +05:30
parent 39c3270288
commit 9fb47d9dfa

2
generic/vendor/anorak/file_contexts vendored Executable file → Normal file
View file

@ -191,6 +191,8 @@
# Feature configs
/sys/devices/platform/soc/780000.qfprom/qfprom0/feat_conf* u:object_r:vendor_sysfs_qfprom:s0
# mmc device type
/sys/devices/platform/soc/1c10000.qcom,pcie/pci[0-9]+:[0-9]+/[0-9]+:[0-9]+:[0-9]+.[0-9]+/[0-9]+:[0-9]+:[0-9]+.[0-9]+/nvme/nvme0/transport u:object_r:vendor_sysfs_mmc_device_type:s0
/vendor/bin/hw/vendor\.qti\.hardware\.display\.demura@1\.0-service u:object_r:hal_display_demura_default_exec:s0