universal7580: sepolicy: Fix exported_camera_prop denials
[GitHub/LineageOS/android_device_samsung_universal7580-common.git] / sepolicy / hal_lineage_livedisplay_sysfs.te
1 # Allow LiveDisplay to store files under /data/vendor/display and access them
2 allow hal_lineage_livedisplay_sysfs display_vendor_data_file:dir rw_dir_perms;
3 allow hal_lineage_livedisplay_sysfs display_vendor_data_file:file create_file_perms;
4
5 # Allow LiveDisplay to read and write to files in sysfs_graphics, sysfs_mdnie
6 allow hal_lineage_livedisplay_sysfs {
7 sysfs_graphics
8 sysfs_mdnie
9 }:dir search;
10
11 allow hal_lineage_livedisplay_sysfs {
12 sysfs_graphics
13 sysfs_mdnie
14 }:file rw_file_perms;