Searched refs:perm_maps (Results 1 – 4 of 4) sorted by relevance
/external/selinux/python/sepolgen/src/sepolgen/ |
D | matching.py | 94 def __init__(self, perm_maps=None): argument 97 if perm_maps: 98 self.perm_maps = perm_maps 100 self.perm_maps = objectmodel.PermMappings() 118 total = self.perm_maps.getdefault_distance(av_req.obj_class, diff) 122 return self.perm_maps.getdefault_distance(av_req.obj_class, diff) 180 pdist = self.perm_maps.getdefault_distance(prov.obj_class, prov.perms) 221 av_dir = self.perm_maps.getdefault_direction(av.obj_class, av.perms) 227 self.perm_maps.getdefault_direction(x.obj_class, x.perms)
|
D | policygen.py | 89 def set_gen_refpol(self, if_set=None, perm_maps=None): argument 100 self.ifgen = InterfaceGenerator(if_set, perm_maps) 334 def __init__(self, ifs, perm_maps=None): argument 337 self.matcher = matching.AccessMatcher(perm_maps)
|
/external/selinux/python/audit2allow/ |
D | audit2allow | 212 perm_maps = objectmodel.PermMappings() 213 perm_maps.from_file(fd) 215 return (ifs, perm_maps) 321 ifs, perm_maps = self.__load_interface_info() 322 g.set_gen_refpol(ifs, perm_maps)
|
D | audit2why | 212 perm_maps = objectmodel.PermMappings() 213 perm_maps.from_file(fd) 215 return (ifs, perm_maps) 321 ifs, perm_maps = self.__load_interface_info() 322 g.set_gen_refpol(ifs, perm_maps)
|