回退 'Pull Request !2341 : add parameter_service sepolicy for accountmgr'

This commit is contained in:
openharmony_ci 2023-05-27 00:56:33 +00:00 committed by Gitee
parent fa8abd825a
commit f11350943b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 0 additions and 20 deletions

View File

@ -70,7 +70,6 @@ allow accountmgr sa_time_service:samgr_class { get };
allow accountmgr accessibility:binder { transfer };
allow accountmgr bootevent_param:file { map open read };
allow accountmgr bootevent_param:parameter_service { set };
allow accountmgr bootevent_samgr_param:file { map open read };
allow accountmgr build_version_param:file { map open read };
allow accountmgr const_allow_mock_param:file { map open read };
@ -85,7 +84,6 @@ allow accountmgr const_product_param:file { map open read };
allow accountmgr debug_param:file { map open read };
allow accountmgr default_param:file { map open read };
allow accountmgr deviceauth_service:binder { transfer };
allow accountmgr dev_console_file:chr_file { read write };
allow accountmgr time_service:binder { call transfer };
allow accountmgr distributedfiledaemon:binder { call transfer };
@ -104,7 +102,6 @@ allow accountmgr net_param:file { map open read };
allow accountmgr net_tcp_param:file { map open read };
allow accountmgr ohos_boot_param:file { map open read };
allow accountmgr ohos_param:file { map open read };
allow accountmgr paramservice_socket:sock_file { write };
allow accountmgr persist_param:file { map open read };
allow accountmgr persist_sys_param:file { map open read };
allow accountmgr security_param:file { map open read };
@ -113,9 +110,6 @@ allow accountmgr startup_param:file { map open read };
allow accountmgr sys_param:file { map open read };
allow accountmgr system_bin_file:dir { search };
allow accountmgr sys_usb_param:file { map open read };
allow accountmgr sysfs_devices_system_cpu:file { open read getattr };
allow accountmgr kernel:unix_stream_socket { connectto };
allow accountmgr vendor_etc_file:dir { search };
# avc: denied { open } for pid=541 comm="IPC_0_735" path="/dev/ashmem" dev="tmpfs" ino=170 scontext=u:r:accountmgr:s0 tcontext=u:object_r:dev_ashmem_file:s0 tclass=chr_file permissive=0
allow accountmgr dev_ashmem_file:chr_file { open };

View File

@ -1,14 +0,0 @@
# Copyright (c) 2023 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.
allow memmgrservice accountmgr:file { getattr };