Home
last modified time | relevance | path

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

/external/selinux/sepolgen/src/sepolgen/
Dmatching.py113 def perm_distance(self, av_req, av_prov): argument
115 diff = av_req.perms.difference(av_prov.perms)
118 total = self.perm_maps.getdefault_distance(av_req.obj_class, diff)
121 diff = av_prov.perms.difference(av_req.perms)
122 return self.perm_maps.getdefault_distance(av_req.obj_class, diff)