android_device_samsung_msm8.../sepolicy/common/hal_lineage_livedisplay_sysfs.te
2019-10-17 16:12:48 +02:00

17 lines
616 B
Text

# 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
allow hal_lineage_livedisplay_sysfs {
sysfs_graphics
sysfs_mdnie
}:dir search;
allow hal_lineage_livedisplay_sysfs {
sysfs_graphics
sysfs_mdnie
}:file rw_file_perms;
allow hal_lineage_livedisplay_sysfs sysfs:file { open read write };
allow hal_lineage_livedisplay_sysfs sysfs:file getattr;