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