diff --git a/sepolicy/ohos_policy/account/os_account/system/accountmgr.te b/sepolicy/ohos_policy/account/os_account/system/accountmgr.te index 9c533748c189e38964a6efe9510303cf83cc0fe7..2cba5555791113a634fd2f8c0ce7dc481b0a0d90 100644 --- a/sepolicy/ohos_policy/account/os_account/system/accountmgr.te +++ b/sepolicy/ohos_policy/account/os_account/system/accountmgr.te @@ -163,6 +163,8 @@ allow accountmgr netmanager:binder { call transfer }; allow accountmgr accessibility:binder { call transfer }; +allow accountmgr multimodalinput:binder { call transfer }; + # add for test debug_only(` allow accountmgr sh:binder { call }; diff --git a/sepolicy/ohos_policy/multimodalinput/input/system/multimodalinput.te b/sepolicy/ohos_policy/multimodalinput/input/system/multimodalinput.te index 540e2a3048328fdaed0266a56edba848030925cb..0432f0b0f36083cd3244c808aad3ad45c834377b 100644 --- a/sepolicy/ohos_policy/multimodalinput/input/system/multimodalinput.te +++ b/sepolicy/ohos_policy/multimodalinput/input/system/multimodalinput.te @@ -133,3 +133,6 @@ allow multimodalinput sensors:binder { call transfer }; allow multimodalinput sensors:unix_stream_socket { read write }; allow multimodalinput sa_sensor_service:samgr_class { get }; allow multimodalinput hdf_device_manager:hdf_devmgr_class { get }; +allow multimodalinput accountmgr:binder { call transfer }; +allow multimodalinput sa_accountmgr:samgr_class { get }; +allow multimodalinput accountmgr:fd { use };