Home
last modified time | relevance | path

Searched refs:role_datum (Results 1 – 5 of 5) sorted by relevance

/external/selinux/policycoreutils/sepolicy/
Dinfo.c737 const qpol_role_t *role_datum = NULL; in get_user() local
782 if (qpol_iterator_get_item(iter, (void **)&role_datum)) in get_user()
784 if (qpol_role_get_name(q, role_datum, &role_name)) in get_user()
1010 static PyObject* get_role(const qpol_role_t * role_datum, const apol_policy_t * policydb) in get_role() argument
1024 if (qpol_role_get_name(q, role_datum, &role_name)) in get_role()
1029 if (qpol_role_get_dominate_iter(q, role_datum, &iter)) in get_role()
1050 if (qpol_role_get_type_iter(q, role_datum, &iter)) in get_role()
1211 const qpol_role_t *role_datum = NULL; in get_roles() local
1221 if (qpol_policy_get_role_by_name(q, name, &role_datum)) { in get_roles()
1225 obj = get_role(role_datum, policydb); in get_roles()
[all …]
/external/selinux/libsepol/cil/src/
Dcil_post.c1308 struct cil_symtab_datum *role_datum = roletype->role; in __cil_post_db_roletype_helper() local
1310 struct cil_tree_node *role_node = role_datum->nodes->head->data; in __cil_post_db_roletype_helper()
1386 struct cil_symtab_datum *role_datum = NULL; in __cil_post_db_userrole_helper() local
1408 role_datum = userrole->role; in __cil_post_db_userrole_helper()
1421 rc = __cil_user_assign_roles(user, role_datum); in __cil_post_db_userrole_helper()
1429 rc = __cil_user_assign_roles(user, role_datum); in __cil_post_db_userrole_helper()
Dcil_resolve_ast.c772 struct cil_symtab_datum *role_datum = NULL; in cil_resolve_userrole() local
781 rc = cil_resolve_name(current, userrole->role_str, CIL_SYM_ROLES, extra_args, &role_datum); in cil_resolve_userrole()
785 userrole->role = role_datum; in cil_resolve_userrole()
977 struct cil_symtab_datum *role_datum = NULL; in cil_resolve_roletype() local
981 rc = cil_resolve_name(current, roletype->role_str, CIL_SYM_ROLES, extra_args, &role_datum); in cil_resolve_roletype()
985 roletype->role = (struct cil_role*)role_datum; in cil_resolve_roletype()
1770 struct cil_symtab_datum *role_datum = NULL; in cil_resolve_context() local
1792 rc = cil_resolve_name(current, context->role_str, CIL_SYM_ROLES, extra_args, &role_datum); in cil_resolve_context()
1797 node = role_datum->nodes->head->data; in cil_resolve_context()
1800 cil_log(CIL_ERR, "Context role not a role: %s\n", role_datum->fqn); in cil_resolve_context()
[all …]
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h133 typedef struct role_datum { struct
/external/selinux/libsepol/src/
Dmodule_to_cil.c2008 struct role_datum *role = datum; in role_to_cil()