Searched refs:perm_maps (Results 1 – 4 of 4) sorted by relevance
/external/selinux/sepolgen/src/sepolgen/ |
D | matching.py | 97 def __init__(self, perm_maps=None): argument 100 if perm_maps: 101 self.perm_maps = perm_maps 103 self.perm_maps = objectmodel.PermMappings() 121 total = self.perm_maps.getdefault_distance(av_req.obj_class, diff) 125 return self.perm_maps.getdefault_distance(av_req.obj_class, diff) 183 pdist = self.perm_maps.getdefault_distance(prov.obj_class, prov.perms) 224 av_dir = self.perm_maps.getdefault_direction(av.obj_class, av.perms) 230 self.perm_maps.getdefault_direction(x.obj_class, x.perms)
|
D | policygen.py | 86 def set_gen_refpol(self, if_set=None, perm_maps=None): argument 97 self.ifgen = InterfaceGenerator(if_set, perm_maps) 307 def __init__(self, ifs, perm_maps=None): argument 310 self.matcher = matching.AccessMatcher(perm_maps)
|
/external/selinux/policycoreutils/audit2allow/ |
D | audit2why | 205 perm_maps = objectmodel.PermMappings() 206 perm_maps.from_file(fd) 208 return (ifs, perm_maps) 303 ifs, perm_maps = self.__load_interface_info() 304 g.set_gen_refpol(ifs, perm_maps)
|
D | audit2allow | 205 perm_maps = objectmodel.PermMappings() 206 perm_maps.from_file(fd) 208 return (ifs, perm_maps) 304 ifs, perm_maps = self.__load_interface_info() 305 g.set_gen_refpol(ifs, perm_maps)
|