msm8974-common: hal_lineage_livedisplay_default -> hal_lineage_livedisplay_sysfs

Change-Id: If8954290c41913b7453a1cba4d67f7a63d08d2dd
This commit is contained in:
LuK1337 2019-06-16 16:05:23 +02:00 committed by Kevin F. Haggerty
parent 1ea634bce2
commit 756a4e4063
No known key found for this signature in database
GPG Key ID: 6D95512933112729
3 changed files with 15 additions and 10 deletions

View File

@ -21,7 +21,7 @@
# executeables # executeables
/system/vendor/bin/macloader u:object_r:macloader_exec:s0 /system/vendor/bin/macloader u:object_r:macloader_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.sensors@1\.0-service.samsung8974 u:object_r:hal_sensors_default_exec:s0 /(vendor|system/vendor)/bin/hw/android\.hardware\.sensors@1\.0-service.samsung8974 u:object_r:hal_sensors_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.livedisplay@2\.0-service\.samsung-qcom u:object_r:hal_lineage_livedisplay_default_exec:s0 /(vendor|system/vendor)/bin/hw/vendor\.lineage\.livedisplay@2\.0-service\.samsung-qcom u:object_r:hal_lineage_livedisplay_sysfs_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch@1\.0-service\.samsung u:object_r:hal_lineage_touch_default_exec:s0 /(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch@1\.0-service\.samsung u:object_r:hal_lineage_touch_default_exec:s0
# firmware # firmware

View File

@ -1,9 +0,0 @@
allow hal_lineage_livedisplay_default {
sysfs_graphics
sysfs_mdnie
}:dir search;
allow hal_lineage_livedisplay_default {
sysfs_graphics
sysfs_mdnie
}:file rw_file_perms;

View 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;