From e28494bb9ff25d9a0607e99d7f4fa82713677966 Mon Sep 17 00:00:00 2001 From: "Kevin F. Haggerty" Date: Tue, 22 Dec 2020 13:11:45 -0700 Subject: [PATCH] msm8974-common: sepolicy: macloader updates for new root label Change-Id: I3526593a73b80c1ec1203734289cb5a2c8faad89 --- sepolicy/common/macloader.te | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sepolicy/common/macloader.te b/sepolicy/common/macloader.te index 52d47e1..11caa91 100644 --- a/sepolicy/common/macloader.te +++ b/sepolicy/common/macloader.te @@ -2,11 +2,11 @@ type macloader, domain; type macloader_exec, exec_type, file_type; init_daemon_domain(macloader) -type_transition macloader system_data_file:file wifi_data_file ".cid.info"; +type_transition macloader system_data_root_file:file wifi_data_file ".cid.info"; r_dir_file(macloader, wifi_efs_file) allow macloader efs_file:dir search; allow macloader sysfs_wifi_writeable:file w_file_perms; -allow macloader system_data_file:dir w_dir_perms; +allow macloader system_data_root_file:dir w_dir_perms; allow macloader wifi_data_file:file create_file_perms;