Home
last modified time | relevance | path

Searched refs:class_datum (Results 1 – 4 of 4) sorted by relevance

/external/selinux/policycoreutils/sepolicy/
Dinfo.c817 static PyObject* get_class(const qpol_class_t * class_datum, const apol_policy_t * policydb) in get_class() argument
829 if (!class_datum) in get_class()
832 if (qpol_class_get_name(q, class_datum, &class_name)) in get_class()
838 if (qpol_class_get_common(q, class_datum, &common_datum)) in get_class()
856 if (qpol_class_get_perm_iter(q, class_datum, &iter)) in get_class()
899 const qpol_class_t *class_datum = NULL; in get_classes() local
908 if (qpol_policy_get_class_by_name(q, name, &class_datum)) in get_classes()
910 obj = get_class(class_datum, policydb); in get_classes()
921 if (qpol_iterator_get_item(iter, (void **)&class_datum)) in get_classes()
923 obj = get_class(class_datum, policydb); in get_classes()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h109 typedef struct class_datum { struct
/external/selinux/libsepol/cil/src/
Dcil_resolve_ast.c693 struct cil_symtab_datum *class_datum = NULL; in cil_resolve_classcommon() local
697 rc = cil_resolve_name(current, clscom->class_str, CIL_SYM_CLASSES, extra_args, &class_datum); in cil_resolve_classcommon()
707 class = (struct cil_class *)class_datum; in cil_resolve_classcommon()
1747 struct cil_symtab_datum *class_datum = NULL; in cil_resolve_validatetrans() local
1750 rc = cil_resolve_name(current, validtrans->class_str, CIL_SYM_CLASSES, args, &class_datum); in cil_resolve_validatetrans()
1754 validtrans->class = (struct cil_class*)class_datum; in cil_resolve_validatetrans()
/external/selinux/libsepol/src/
Dmodule_to_cil.c1836 static int constraints_to_cil(int indent, struct policydb *pdb, char *classkey, struct class_datum in constraints_to_cil()
1874 struct class_datum *class = datum; in class_to_cil()