Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dkernel_to_cil.c2335 struct strs *strs, *role_strs; in write_user_decl_rules_to_cil() local
2379 rc = strs_init(&role_strs, pdb->p_roles.nprim); in write_user_decl_rules_to_cil()
2383 rc = ebitmap_to_strs(roles, role_strs, pdb->p_role_val_to_name); in write_user_decl_rules_to_cil()
2385 strs_destroy(&role_strs); in write_user_decl_rules_to_cil()
2389 rc = strs_add(role_strs, (char *)DEFAULT_OBJECT); in write_user_decl_rules_to_cil()
2391 strs_destroy(&role_strs); in write_user_decl_rules_to_cil()
2395 strs_sort(role_strs); in write_user_decl_rules_to_cil()
2397 num_roles = strs_num_items(role_strs); in write_user_decl_rules_to_cil()
2399 role = strs_read_at_index(role_strs, j); in write_user_decl_rules_to_cil()
2402 strs_destroy(&role_strs); in write_user_decl_rules_to_cil()