1# Copyright (c) 2022 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 14#add selinux for tdd begin 15#avc: denied { add } for service=1498 pid=1990 scontext=u:r:sh:s0 tcontext=u:object_r:sa_distributed_sched_test_audio:s0 tclass=samgr_class permissive=1 16allow sh sa_distributed_sched_test_audio:samgr_class { add }; 17 18#avc: denied { add } for service=1495 pid=1990 scontext=u:r:sh:s0 tcontext=u:object_r:sa_distributed_sched_test_connection:s0 tclass=samgr_class permissive=1 19#avc: denied { get } for service=1495 pid=1990 scontext=u:r:sh:s0 tcontext=u:object_r:sa_distributed_sched_test_connection:s0 tclass=samgr_class permissive=1 20allow sh sa_distributed_sched_test_connection:samgr_class { add get }; 21 22#avc: denied { add } for service=1496 pid=1990 scontext=u:r:sh:s0 tcontext=u:object_r:sa_distributed_sched_test_incomplete:s0 tclass=samgr_class permissive=1 23allow sh sa_distributed_sched_test_incomplete:samgr_class { add }; 24 25#avc: denied { add } for service=1494 pid=1990 scontext=u:r:sh:s0 tcontext=u:object_r:sa_distributed_sched_test_listen:s0 tclass=samgr_class permissive=1 26#avc: denied { get } for service=1494 pid=1990 scontext=u:r:sh:s0 tcontext=u:object_r:sa_distributed_sched_test_listen:s0 tclass=samgr_class permissive=1 27allow sh sa_distributed_sched_test_listen:samgr_class { add get }; 28 29#avc: denied { add } for service=1499 pid=1990 scontext=u:r:sh:s0 tcontext=u:object_r:sa_distributed_sched_test_media:s0 tclass=samgr_class permissive=1 30#avc: denied { get } for service=1499 pid=1940 scontext=u:r:sh:s0 tcontext=u:object_r:sa_distributed_sched_test_media:s0 tclass=samgr_class permissive=1 31allow sh sa_distributed_sched_test_media:samgr_class { add get }; 32 33#avc: denied { add } for service=1497 pid=1990 scontext=u:r:sh:s0 tcontext=u:object_r:sa_distributed_sched_test_ondemand:s0 tclass=samgr_class permissive=1 34allow sh sa_distributed_sched_test_ondemand:samgr_class { add }; 35 36#avc: denied { add } for service=1492 pid=1990 scontext=u:r:sh:s0 tcontext=u:object_r:sa_distributed_sched_test_oos:s0 tclass=samgr_class permissive=1 37#avc: denied { get } for service=1492 pid=1990 scontext=u:r:sh:s0 tcontext=u:object_r:sa_distributed_sched_test_oos:s0 tclass=samgr_class permissive=1 38allow sh sa_distributed_sched_test_oos:samgr_class { add get }; 39 40#avc: denied { add } for service=1491 pid=1990 scontext=u:r:sh:s0 tcontext=u:object_r:sa_distributed_sched_test_os:s0 tclass=samgr_class permissive=1 41#avc: denied { get } for service=1491 pid=1990 scontext=u:r:sh:s0 tcontext=u:object_r:sa_distributed_sched_test_os:s0 tclass=samgr_class permissive=1 42allow sh sa_distributed_sched_test_os:samgr_class { add get }; 43 44#avc: denied { add } for service=1490 pid=1990 scontext=u:r:sh:s0 tcontext=u:object_r:sa_distributed_sched_test_so:s0 tclass=samgr_class permissive=1 45#avc: denied { get } for service=1490 pid=1990 scontext=u:r:sh:s0 tcontext=u:object_r:sa_distributed_sched_test_so:s0 tclass=samgr_class permissive=1 46allow sh sa_distributed_sched_test_so:samgr_class { add get }; 47 48#avc: denied { add } for service=1493 pid=1990 scontext=u:r:sh:s0 tcontext=u:object_r:sa_distributed_sched_test_tt:s0 tclass=samgr_class permissive=1 49#avc: denied { get } for service=1493 pid=1990 scontext=u:r:sh:s0 tcontext=u:object_r:sa_distributed_sched_test_tt:s0 tclass=samgr_class permissive=1 50allow sh sa_distributed_sched_test_tt:samgr_class { add get }; 51#add selinux for tdd end 52