Searched refs:allow_set (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/base/security/selinux_adapter/scripts/selinux_check/ |
H A D | check_ioctl_xperm.py | 31 def __init__(self, allowx_set, allow_set, typetransition_set): argument 33 self.allow_set = allow_set 41 def split_allow_rule(elem_list, allow_set, allowx_set): argument 51 allow_set.add(keycontent) 71 def deal_with_allow(cil_file, allow_set, allowx_set, typetransition_set): argument 85 split_allow_rule(elem_list, allow_set, allowx_set) 90 allow_set = set() 93 deal_with_allow(args.developer_cil_file, allow_set, allowx_set, typetransition_set) 95 deal_with_allow(args.cil_file, allow_set, allowx_set, typetransition_set) 97 return PolicyDb(allowx_set, allow_set, typetransition_set) [all …]
|
H A D | check_permissive.py | 31 def deal_with_allow(cil_file, allow_set): argument 41 split_attribute(elem_list, allow_set) 44 def split_attribute(elem_list, allow_set): argument 48 allow_set.add(scontext) 52 allow_set = set() 54 deal_with_allow(args.developer_cil_file, allow_set) 56 deal_with_allow(args.cil_file, allow_set) 57 return allow_set
|