OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ifcall
(Results
1 - 5
of
5
) sorted by null
/external/selinux/sepolgen/src/sepolgen/
policygen.py
250
ifcall
= call_interface(match.interface, ml.av)
251
s.append(' %s # [%d]' % (
ifcall
.to_string(), match.dist))
286
ifcall
= refpolicy.InterfaceCall()
287
ifcall
.ifname = interface.name
291
ifcall
.args.append(av.src_type)
293
ifcall
.args.append(av.tgt_type)
295
ifcall
.args.append(av.obj_class)
300
assert(len(
ifcall
.args) > 0)
302
return
ifcall
338
ifcall
= call_interface(ml.best().interface, ml.av
[
all
...]
interfaces.py
192
def ifcall_extract_params(
ifcall
, params):
194
for arg in
ifcall
.args:
305
for
ifcall
in interface.interface_calls():
306
if ifcall_extract_params(
ifcall
, self.params):
308
#print "found conflicting params in
ifcall
%s in interface %s" % \
309
# (str(
ifcall
), interface.name)
417
def map_param(self, id,
ifcall
):
420
if num > len(
ifcall
.args):
425
arg =
ifcall
.args[num - 1]
433
def map_add_av(self, ifv, av,
ifcall
)
[
all
...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/
policygen.py
250
ifcall
= call_interface(match.interface, ml.av)
251
s.append(' %s # [%d]' % (
ifcall
.to_string(), match.dist))
286
ifcall
= refpolicy.InterfaceCall()
287
ifcall
.ifname = interface.name
291
ifcall
.args.append(av.src_type)
293
ifcall
.args.append(av.tgt_type)
295
ifcall
.args.append(av.obj_class)
300
assert(len(
ifcall
.args) > 0)
302
return
ifcall
338
ifcall
= call_interface(ml.best().interface, ml.av
[
all
...]
interfaces.py
192
def ifcall_extract_params(
ifcall
, params):
194
for arg in
ifcall
.args:
305
for
ifcall
in interface.interface_calls():
306
if ifcall_extract_params(
ifcall
, self.params):
308
#print "found conflicting params in
ifcall
%s in interface %s" % \
309
# (str(
ifcall
), interface.name)
417
def map_param(self, id,
ifcall
):
420
if num > len(
ifcall
.args):
425
arg =
ifcall
.args[num - 1]
433
def map_add_av(self, ifv, av,
ifcall
)
[
all
...]
/external/selinux/sepolgen/tests/
test_refpolicy.py
141
ifcall
= refpolicy.InterfaceCall(ifname="allow_foobar")
142
ifcall
.args.append("foo_t")
143
ifcall
.args.append("{ file dir }")
147
i.children.append(
ifcall
)
Completed in 135 milliseconds