diff --git a/sepolicy/ohos_policy/distributedhardware/mechbody_controller/system/bluetooth_service.te b/sepolicy/ohos_policy/distributedhardware/mechbody_controller/system/bluetooth_service.te new file mode 100644 index 0000000000000000000000000000000000000000..f5738a6f07b27439a2755cace91ebadc797d48d7 --- /dev/null +++ b/sepolicy/ohos_policy/distributedhardware/mechbody_controller/system/bluetooth_service.te @@ -0,0 +1,14 @@ +# Copyright (c) 2025 Huawei Device Co., Ltd. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +binder_call(bluetooth_service, mechbody); diff --git a/sepolicy/ohos_policy/distributedhardware/mechbody_controller/system/mechbody.te b/sepolicy/ohos_policy/distributedhardware/mechbody_controller/system/mechbody.te index e01001704037b9ba7794b93cd33a85f03e8553b4..e8d83832f165bed16e5391968c7a5d9b567ff548 100644 --- a/sepolicy/ohos_policy/distributedhardware/mechbody_controller/system/mechbody.te +++ b/sepolicy/ohos_policy/distributedhardware/mechbody_controller/system/mechbody.te @@ -11,6 +11,24 @@ # See the License for the specific language governing permissions and # limitations under the License. +binder_call(mechbody, bluetooth_service); + +binder_call(mechbody, multimodalinput); + +binder_call(mechbody, system_basic_hap_attr); + +binder_call(mechbody, normal_hap_attr); + +binder_call(mechbody, accountmgr); + +binder_call(mechbody, camera_service); + +binder_call(mechbody, foundation); + +binder_call(mechbody, resource_schedule_service); + +binder_call(mechbody, sensors); + allow mechbody chip_prod_file:dir { search }; allow mechbody mechbody:unix_dgram_socket { getopt setopt };