mirror of
https://github.com/openharmony/utils_selinux_policy_standard.git
synced 2026-07-01 21:45:23 -04:00
add dms
Signed-off-by: qianli <847171309@qq.com> Change-Id: I8713f1fdad939f0c87423c628e6c3f040837fce4
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# Copyright (c) 2021 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.
|
||||
|
||||
type distributedsched, domain, coredomain, mlstrustedsubkect;
|
||||
|
||||
domain_auto_trans(distributedsched, samain_exec, distributedsched)
|
||||
|
||||
binder_call(distributedsched, samgr)
|
||||
binder_call(samgr, distributedsched)
|
||||
|
||||
domain_trans(init,samain_exec,distributedsched)
|
||||
|
||||
#avc: denied { call } for pid 6867 comm="distributedsched" scontext=u:r:logd:s0 tcontext=u:r:samgr:s0 tclass=binder permissive=1
|
||||
#avc: denied { transfer } for pid 6867 comm="distributedsched" scontext=u:r:logd:s0 tcontext=u:r:samgr:s0 tclass=binder permissive=1
|
||||
allow distributedsched samgr:binder { call transfer };
|
||||
Reference in New Issue
Block a user