Home
last modified time | relevance | path

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

/external/selinux/libsepol/cil/src/
Dcil_verify.c1621 struct cil_verify_map_args *map_args = args; in __verify_map_perm_classperms() local
1625 …cil_tree_log(map_args->node, CIL_ERR, "Map class %s does not have a classmapping for %s", map_args in __verify_map_perm_classperms()
1626 map_args->rc = SEPOL_ERR; in __verify_map_perm_classperms()
1632 …cil_tree_log(map_args->node, CIL_ERR, "Found circular class permissions involving the map class %s… in __verify_map_perm_classperms()
1633 map_args->rc = SEPOL_ERR; in __verify_map_perm_classperms()
1644 struct cil_verify_map_args map_args; in __cil_verify_map_class() local
1646 map_args.class = mc; in __cil_verify_map_class()
1647 map_args.node = node; in __cil_verify_map_class()
1648 map_args.rc = SEPOL_OK; in __cil_verify_map_class()
1650 cil_symtab_map(&mc->perms, __verify_map_perm_classperms, &map_args); in __cil_verify_map_class()
[all …]
Dcil_post.c2165 struct class_map_args *map_args = args; in __evaluate_map_perm_classperms() local
2168 int rc = __evaluate_classperms_list(cmp->classperms, map_args->db); in __evaluate_map_perm_classperms()
2171 map_args->rc = rc; in __evaluate_map_perm_classperms()
2179 struct class_map_args map_args; in __evaluate_map_class() local
2181 map_args.db = db; in __evaluate_map_class()
2182 map_args.rc = SEPOL_OK; in __evaluate_map_class()
2183 cil_symtab_map(&mc->perms, __evaluate_map_perm_classperms, &map_args); in __evaluate_map_class()
2185 return map_args.rc; in __evaluate_map_class()
/external/selinux/libsepol/src/
Dkernel_to_cil.c1746 struct map_avtab_args *map_args = args; in map_avtab_write_helper() local
1747 uint32_t flavor = map_args->flavor; in map_avtab_write_helper()
1748 struct policydb *pdb = map_args->pdb; in map_avtab_write_helper()
1749 struct strs *strs = map_args->strs; in map_avtab_write_helper()
1829 struct map_filename_trans_args *map_args = arg; in map_filename_trans_to_str() local
1830 struct policydb *pdb = map_args->pdb; in map_filename_trans_to_str()
1831 struct strs *strs = map_args->strs; in map_filename_trans_to_str()
1929 struct map_range_trans_args *map_args = arg; in map_range_trans_to_str() local
1930 struct policydb *pdb = map_args->pdb; in map_range_trans_to_str()
1931 struct strs *strs = map_args->strs; in map_range_trans_to_str()
Dkernel_to_conf.c1714 struct map_avtab_args *map_args = args; in map_avtab_write_helper() local
1715 uint32_t flavor = map_args->flavor; in map_avtab_write_helper()
1716 struct policydb *pdb = map_args->pdb; in map_avtab_write_helper()
1717 struct strs *strs = map_args->strs; in map_avtab_write_helper()
1797 struct map_filename_trans_args *map_args = arg; in map_filename_trans_to_str() local
1798 struct policydb *pdb = map_args->pdb; in map_filename_trans_to_str()
1799 struct strs *strs = map_args->strs; in map_filename_trans_to_str()
1897 struct map_range_trans_args *map_args = arg; in map_range_trans_to_str() local
1898 struct policydb *pdb = map_args->pdb; in map_range_trans_to_str()
1899 struct strs *strs = map_args->strs; in map_range_trans_to_str()
Dmodule_to_cil.c161 struct map_args { struct
3545 struct map_args *args = arg; in additive_scopes_to_cil_map()
3561 struct map_args args; in additive_scopes_to_cil()