android_device_samsung_msm8.../sepolicy/common/hal_lineage_livedisplay_sysfs.te
LuK1337 756a4e4063
msm8974-common: hal_lineage_livedisplay_default -> hal_lineage_livedisplay_sysfs
Change-Id: If8954290c41913b7453a1cba4d67f7a63d08d2dd
2019-06-16 09:01:58 -06:00

15 lines
504 B
Plaintext

# Allow LiveDisplay to store files under /data/vendor/display and access them
allow hal_lineage_livedisplay_sysfs display_vendor_data_file:dir rw_dir_perms;
allow hal_lineage_livedisplay_sysfs display_vendor_data_file:file create_file_perms;
# Allow LiveDisplay to read and write to files in sysfs_graphics, sysfs_mdnie
allow hal_lineage_livedisplay_sysfs {
sysfs_graphics
sysfs_mdnie
}:dir search;
allow hal_lineage_livedisplay_sysfs {
sysfs_graphics
sysfs_mdnie
}:file rw_file_perms;