android_device_oneplus_dre/sepolicy/private/hal_livedisplay_sdm845.te
LuK1337 b7127606f9 sdm845-common: Make SELinux great again!
Change-Id: Id479e031b584b24f79377aa244add20903a42b02
2019-09-12 19:11:57 +02:00

12 lines
566 B
Text

type hal_livedisplay_sdm845, coredomain, domain;
hal_server_domain(hal_livedisplay_sdm845, hal_lineage_livedisplay)
type hal_livedisplay_sdm845_exec, system_file_type, exec_type, file_type;
init_daemon_domain(hal_livedisplay_sdm845)
# Allow LiveDisplay to store files under /data/misc/display and access them
allow hal_livedisplay_sdm845 display_misc_file:dir rw_dir_perms;
allow hal_livedisplay_sdm845 display_misc_file:file create_file_perms;
# Grant access over LiveDisplay tuneables
allow hal_livedisplay_sdm845 sysfs_livedisplay_tuneable:file rw_file_perms;