/external/selinux/sepolgen/src/sepolgen/ |
matching.py | 109 def type_distance(self, a, b): member in class:AccessMatcher 169 # here because type_distance only returns 0 or negative. 170 dist += self.type_distance(req.src_type, prov.src_type) 171 dist += self.type_distance(req.tgt_type, prov.tgt_type)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/ |
matching.py | 109 def type_distance(self, a, b): member in class:AccessMatcher 169 # here because type_distance only returns 0 or negative. 170 dist += self.type_distance(req.src_type, prov.src_type) 171 dist += self.type_distance(req.tgt_type, prov.tgt_type)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/sepolgen/ |
matching.py | 109 def type_distance(self, a, b): member in class:AccessMatcher 169 # here because type_distance only returns 0 or negative. 170 dist += self.type_distance(req.src_type, prov.src_type) 171 dist += self.type_distance(req.tgt_type, prov.tgt_type)
|