Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/cil/src/
Dcil_resolve_ast.c833 struct cil_symtab_datum *role_datum = NULL; in cil_resolve_userrole() local
842 rc = cil_resolve_name(current, userrole->role_str, CIL_SYM_ROLES, extra_args, &role_datum); in cil_resolve_userrole()
846 userrole->role = role_datum; in cil_resolve_userrole()
1038 struct cil_symtab_datum *role_datum = NULL; in cil_resolve_roletype() local
1042 rc = cil_resolve_name(current, roletype->role_str, CIL_SYM_ROLES, extra_args, &role_datum); in cil_resolve_roletype()
1046 roletype->role = (struct cil_role*)role_datum; in cil_resolve_roletype()
1834 struct cil_symtab_datum *role_datum = NULL; in cil_resolve_context() local
1856 rc = cil_resolve_name(current, context->role_str, CIL_SYM_ROLES, extra_args, &role_datum); in cil_resolve_context()
1861 node = NODE(role_datum); in cil_resolve_context()
1864 cil_log(CIL_ERR, "Context role not a role: %s\n", role_datum->fqn); in cil_resolve_context()
[all …]
Dcil_post.c1666 struct cil_symtab_datum *role_datum = roletype->role; in __cil_post_db_roletype_helper() local
1668 struct cil_tree_node *role_node = role_datum->nodes->head->data; in __cil_post_db_roletype_helper()
1740 struct cil_symtab_datum *role_datum = NULL; in __cil_post_db_userrole_helper() local
1762 role_datum = userrole->role; in __cil_post_db_userrole_helper()
1771 rc = __cil_user_assign_roles(user, role_datum); in __cil_post_db_userrole_helper()
1779 rc = __cil_user_assign_roles(user, role_datum); in __cil_post_db_userrole_helper()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h138 typedef struct role_datum { struct
/third_party/selinux/libsepol/src/
Dkernel_to_cil.c2169 struct role_datum *role; in write_role_decl_rules_to_cil()
Dkernel_to_conf.c2148 struct role_datum *role; in write_role_decl_rules_to_conf()
Dmodule_to_cil.c2107 struct role_datum *role = datum; in role_to_cil()