mirror of
https://github.com/AetherDroid/android_device_samsung_universal7570-common.git
synced 2025-09-07 00:38:06 -04:00
universal7570: import sepolicy from 7870
The sepolicy before seems to be broken Change-Id: I890a28429f03e47a183a0a0b755987f3495994c3
This commit is contained in:
parent
f22a0e7cdd
commit
f0e4521a9f
53 changed files with 1095 additions and 58 deletions
14
sepolicy/hal_lineage_livedisplay_sysfs.te
Normal file
14
sepolicy/hal_lineage_livedisplay_sysfs.te
Normal file
|
@ -0,0 +1,14 @@
|
|||
# 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;
|
Loading…
Add table
Add a link
Reference in a new issue