1# Copyright (c) 2025 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14allow mechbody chip_prod_file:dir { search }; 15 16allow mechbody mechbody:unix_dgram_socket { getopt setopt }; 17 18allow mechbody bluetooth_service:binder { call transfer }; 19 20allow mechbody sa_bluetooth_server:samgr_class { get }; 21 22allow mechbody dev_kmsg_file:chr_file { write }; 23 24allow mechbody persist_sys_param:file { map open read }; 25 26allow mechbody sa_mechbody_service:samgr_class { add }; 27 28allow mechbody sys_param:file { map open read }; 29 30allow mechbody sysfs_devices_system_cpu:file { getattr open read }; 31 32allow mechbody multimodalinput:binder { call }; 33 34allow mechbody sa_multimodalinput_service:samgr_class { get }; 35 36allow mechbody dev_unix_socket:dir { search }; 37 38allow mechbody system_basic_hap_attr:binder { call transfer }; 39 40allow mechbody normal_hap_attr:binder { call transfer }; 41 42allow mechbody sa_accountmgr:samgr_class { get }; 43 44allow mechbody sa_camera_service:samgr_class { get }; 45 46allow mechbody sa_sensor_service:samgr_class { get }; 47 48allow mechbody accountmgr:binder { call }; 49 50allow mechbody camera_service:binder { call transfer }; 51 52allow mechbody foundation:binder { call }; 53 54allow mechbody resource_schedule_service:binder { call }; 55 56allow mechbody sa_foundation_bms:samgr_class { get }; 57 58allow mechbody sa_resource_schedule:samgr_class { get }; 59 60allow mechbody sensors:binder { call transfer }; 61