Merge "Add sepolicy for chre daemon"

This commit is contained in:
Linux Build Service Account
2018-03-14 09:19:59 -07:00
committed by Gerrit - the friendly Code Review server

View File

@@ -5,8 +5,8 @@ type chre, domain;
type chre_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(chre)
allow chre ion_device:chr_file { open read };
allow chre qdsp_device:chr_file { ioctl open read };
r_dir_file(chre, adsprpcd_file)
allow chre ion_device:chr_file r_file_perms;
allow chre qdsp_device:chr_file r_file_perms;
allow chre dsp_device:chr_file r_file_perms;