Home
last modified time | relevance | path

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

/external/selinux/policycoreutils/sepolicy/
Dinfo.c236 static PyObject* get_cat_sens(const qpol_cat_t * cat_datum, const apol_policy_t * policydb) in get_cat_sens() argument
248 if (!cat_datum || !policydb) in get_cat_sens()
252 if (qpol_cat_get_name(q, cat_datum, &cat_name)) in get_cat_sens()
314 const qpol_cat_t *cat_datum = NULL; in get_cats() local
332 cat_datum = apol_vector_get_element(v, i); in get_cats()
333 if (!cat_datum) in get_cats()
335 obj = get_cat_sens(cat_datum, policydb); in get_cats()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h212 typedef struct cat_datum { struct
/external/selinux/libsepol/cil/src/
Dcil_resolve_ast.c1383 struct cil_symtab_datum *cat_datum; in cil_resolve_catorder() local
1392 rc = cil_resolve_name(current, (char *)curr->data, CIL_SYM_CATS, extra_args, &cat_datum); in cil_resolve_catorder()
1397 node = cat_datum->nodes->head->data; in cil_resolve_catorder()
1399 …%s is not a category. Only categories are allowed in categoryorder statements\n", cat_datum->name); in cil_resolve_catorder()
1403 cat = (struct cil_cat *)cat_datum; in cil_resolve_catorder()
/external/selinux/libsepol/src/
Dmodule_to_cil.c2293 struct cat_datum *cat = datum; in cat_to_cil()