Searched refs:ifcall (Results 1 – 3 of 3) sorted by relevance
/external/selinux/python/sepolgen/src/sepolgen/ |
D | policygen.py | 279 ifcall = call_interface(match.interface, ml.av) 280 s.append(' %s # [%d]' % (ifcall.to_string(), match.dist)) 315 ifcall = refpolicy.InterfaceCall() 316 ifcall.ifname = interface.name 320 ifcall.args.append(av.src_type) 322 ifcall.args.append(av.tgt_type) 324 ifcall.args.append(av.obj_class) 329 assert(len(ifcall.args) > 0) 331 return ifcall 367 ifcall = call_interface(ml.best().interface, ml.av) [all …]
|
D | interfaces.py | 187 def ifcall_extract_params(ifcall, params): argument 189 for arg in ifcall.args: 300 for ifcall in interface.interface_calls(): 301 if ifcall_extract_params(ifcall, self.params): 412 def map_param(self, id, ifcall): argument 415 if num > len(ifcall.args): 420 arg = ifcall.args[num - 1] 428 def map_add_av(self, ifv, av, ifcall): argument 429 src_types = self.map_param(av.src_type, ifcall) 433 tgt_types = self.map_param(av.tgt_type, ifcall) [all …]
|
/external/selinux/python/sepolgen/tests/ |
D | test_refpolicy.py | 280 ifcall = refpolicy.InterfaceCall(ifname="allow_foobar") 281 ifcall.args.append("foo_t") 282 ifcall.args.append("{ file dir }") 286 i.children.append(ifcall)
|