Searched refs:setools (Results 1 - 6 of 6) sorted by relevance

/external/selinux/prebuilts/bin/
H A Dseinfo.py21 import setools namespace
35 parser.add_argument("--version", action="version", version=setools.__version__)
115 p = setools.SELinuxPolicy(args.policy)
119 q = setools.BoolQuery(p)
126 q = setools.CategoryQuery(p)
133 q = setools.ObjClassQuery(p)
140 q = setools.CommonQuery(p)
147 q = setools.ConstraintQuery(p, ruletype=["constrain", "mlsconstrain"])
154 q = setools.DefaultQuery(p)
161 q = setools
[all...]
H A Dsesearch.py21 import setools namespace
29 parser.add_argument("--version", action="version", version=setools.__version__)
142 p = setools.SELinuxPolicy(args.policy)
145 q = setools.TERuleQuery(p,
196 q = setools.RBACRuleQuery(p,
220 q = setools.MLSRuleQuery(p,
H A Dsediff.py21 import setools namespace
32 parser.add_argument("--version", action="version", version=setools.__version__)
130 p1 = setools.SELinuxPolicy(args.POLICY1[0])
131 p2 = setools.SELinuxPolicy(args.POLICY2[0])
132 diff = setools.PolicyDifference(p1, p2)
/external/selinux/python/sepolicy/sepolicy/
H A D__init__.py9 import setools namespace
93 # the setools policy handle
155 _pol = setools.SELinuxPolicy(policy_file)
170 q = setools.TypeQuery(_pol)
182 q = setools.RoleQuery(_pol)
193 q = setools.TypeAttributeQuery(_pol)
203 q = setools.PortconQuery(_pol)
227 q = setools.UserQuery(_pol)
244 q = setools.BoolQuery(_pol)
254 q = setools
[all...]
/external/selinux/python/sepolgen/src/sepolgen/
H A Dpolicygen.py29 from setools import *
/external/selinux/python/semanage/
H A Dseobject.py35 import setools namespace
1318 q = setools.TypeQuery(setools.SELinuxPolicy(sepolicy.get_installed_policy()), attrs=["ibpkey_type"])
1571 q = setools.TypeQuery(setools.SELinuxPolicy(sepolicy.get_installed_policy()), attrs=["ibendport_type"])

Completed in 154 milliseconds