diff --git a/sepolicy/ohos_policy/developtools/profiler/system/hiprofilerd.te b/sepolicy/ohos_policy/developtools/profiler/system/hiprofilerd.te index 44ee01be3c58c6a6ff0715bd346eff400d5a07eb..30c4c16a4e26292df6cda4d69ff789a3f549e77a 100644 --- a/sepolicy/ohos_policy/developtools/profiler/system/hiprofilerd.te +++ b/sepolicy/ohos_policy/developtools/profiler/system/hiprofilerd.te @@ -32,6 +32,12 @@ developer_only(` allow hiprofilerd system_bin_file:dir search; allow hiprofilerd data_local:dir search; allow hiprofilerd tmpfs:file { map read write }; + allow hiprofilerd hmdfs:dir { search write add_name }; + allow hiprofilerd hmdfs:file { open read write getattr ioctl create }; + allowxperm hiprofilerd hmdfs:file ioctl { 0x5413 }; + allow hiprofilerd data_app_el2_file:dir search; + allow hiprofilerd data_user_file:dir { open search }; + allow hiprofilerd data_app_file:dir search; allow hiprofilerd bootevent_samgr_param:file { map open read }; allow hiprofilerd build_version_param:file { map open read };