HomeSort by relevance Sort by last modified time
    Searched refs:qpol (Results 1 - 19 of 19) sorted by null

  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/policyrep/
constraint.py 20 from . import qpol namespace
35 if expr_type == qpol.QPOL_CEXPR_TYPE_ATTR and sym_type >= qpol.QPOL_CEXPR_SYM_L1L2:
54 if isinstance(sym, qpol.qpol_constraint_t):
59 if isinstance(sym, qpol.qpol_constraint_t):
73 qpol.QPOL_CEXPR_TYPE_NOT: "not",
74 qpol.QPOL_CEXPR_TYPE_AND: "and",
75 qpol.QPOL_CEXPR_TYPE_OR: "\n\tor"}
78 qpol.QPOL_CEXPR_OP_EQ: "==",
79 qpol.QPOL_CEXPR_OP_NEQ: "!="
    [all...]
polcap.py 19 from . import qpol namespace
29 elif isinstance(name, qpol.qpol_polcap_t):
boolcond.py 23 from . import qpol namespace
35 elif isinstance(name, qpol.qpol_bool_t):
39 return Boolean(policy, qpol.qpol_bool_t(policy, str(name)))
47 if not isinstance(name, qpol.qpol_cond_t):
72 qpol.QPOL_COND_EXPR_NOT: "!",
73 qpol.QPOL_COND_EXPR_OR: "||",
74 qpol.QPOL_COND_EXPR_AND: "&&",
75 qpol.QPOL_COND_EXPR_XOR: "^",
76 qpol.QPOL_COND_EXPR_EQ: "==",
77 qpol.QPOL_COND_EXPR_NEQ: "!="
    [all...]
initsid.py 20 from . import qpol namespace
31 elif isinstance(name, qpol.qpol_isid_t):
35 return InitialSID(policy, qpol.qpol_isid_t(policy, name))
fscontext.py 22 from . import qpol namespace
38 if not isinstance(name, qpol.qpol_fs_use_t):
47 if not isinstance(name, qpol.qpol_genfscon_t):
141 qpol.QPOL_FS_USE_XATTR: 'fs_use_xattr',
142 qpol.QPOL_FS_USE_TRANS: 'fs_use_trans',
143 qpol.QPOL_FS_USE_TASK: 'fs_use_task'}
role.py 20 from . import qpol namespace
31 elif isinstance(name, qpol.qpol_role_t):
35 return Role(qpol_policy, qpol.qpol_role_t(qpol_policy, str(name)))
objclass.py 21 from . import qpol namespace
30 elif isinstance(name, qpol.qpol_common_t):
34 return Common(policy, qpol.qpol_common_t(policy, str(name)))
45 elif isinstance(name, qpol.qpol_class_t):
49 return ObjClass(policy, qpol.qpol_class_t(policy, str(name)))
user.py 20 from . import qpol namespace
32 elif isinstance(name, qpol.qpol_user_t):
36 return User(qpol_policy, qpol.qpol_user_t(qpol_policy, str(name)))
context.py 20 from . import qpol namespace
31 if not isinstance(name, qpol.qpol_context_t):
mls.py 23 from . import qpol namespace
26 # qpol does not expose an equivalent of a sensitivity declaration.
39 # Hashing has to be handled below because the qpol references,
46 return bool(policy.capability(qpol.QPOL_CAP_MLS))
58 elif isinstance(sym, qpol.qpol_cat_t):
65 return Category(policy, qpol.qpol_cat_t(policy, str(sym)))
79 elif isinstance(sym, qpol.qpol_level_t):
86 return Sensitivity(policy, qpol.qpol_level_t(policy, str(sym)))
103 elif isinstance(sym, qpol.qpol_mls_level_t):
110 semantic_level = qpol.qpol_semantic_level_t(policy, sens
    [all...]
netcontext.py 22 from . import qpol namespace
32 if not isinstance(name, qpol.qpol_netifcon_t):
41 if not isinstance(name, qpol.qpol_nodecon_t):
50 if not isinstance(name, qpol.qpol_portcon_t):
mlsrule.py 22 from . import qpol namespace
30 if not isinstance(symbol, qpol.qpol_range_trans_t):
rbacrule.py 22 from . import qpol namespace
31 if isinstance(name, qpol.qpol_role_allow_t):
33 elif isinstance(name, qpol.qpol_role_trans_t):
typeattr.py 20 from . import qpol namespace
25 """Look up the low-level qpol policy reference"""
26 if isinstance(name, qpol.qpol_type_t):
30 return qpol.qpol_type_t(qpol_policy, str(name))
default.py 22 from . import qpol namespace
55 if not isinstance(sym, qpol.qpol_default_object_t):
58 # qpol will essentially iterate over all classes
61 # all of the information out of the qpol representation.
terule.py 22 from . import qpol namespace
31 if isinstance(symbol, qpol.qpol_avrule_t):
33 elif isinstance(symbol, (qpol.qpol_terule_t, qpol.qpol_filename_trans_t)):
__init__.py 34 from . import qpol namespace
116 self.policy = qpol.qpol_policy_factory(str(filename))
133 for version in range(qpol.QPOL_POLICY_MAX_VERSION, qpol.QPOL_POLICY_MIN_VERSION-1, -1):
429 # qpol iterates over all classes. Handle case
  /external/selinux/policycoreutils/sepolicy/
search.c 47 #include <qpol/policy.h>
48 #include <qpol/policy_extend.h>
49 #include <qpol/syn_rule_query.h>
50 #include <qpol/util.h>
info.c 43 #include <qpol/policy.h>
44 #include <qpol/util.h>
    [all...]

Completed in 122 milliseconds