OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:perm_maps
(Results
1 - 6
of
6
) sorted by null
/external/selinux/sepolgen/src/sepolgen/
matching.py
94
def __init__(self,
perm_maps
=None):
97
if
perm_maps
:
98
self.
perm_maps
=
perm_maps
100
self.
perm_maps
= objectmodel.PermMappings()
118
total = self.
perm_maps
.getdefault_distance(av_req.obj_class, diff)
122
return self.
perm_maps
.getdefault_distance(av_req.obj_class, diff)
180
pdist = self.
perm_maps
.getdefault_distance(prov.obj_class, prov.perms)
221
av_dir = self.
perm_maps
.getdefault_direction(av.obj_class, av.perms)
227
self.
perm_maps
.getdefault_direction(x.obj_class, x.perms
[
all
...]
policygen.py
87
def set_gen_refpol(self, if_set=None,
perm_maps
=None):
98
self.ifgen = InterfaceGenerator(if_set,
perm_maps
)
305
def __init__(self, ifs,
perm_maps
=None):
308
self.matcher = matching.AccessMatcher(
perm_maps
)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/
matching.py
94
def __init__(self,
perm_maps
=None):
97
if
perm_maps
:
98
self.
perm_maps
=
perm_maps
100
self.
perm_maps
= objectmodel.PermMappings()
118
total = self.
perm_maps
.getdefault_distance(av_req.obj_class, diff)
122
return self.
perm_maps
.getdefault_distance(av_req.obj_class, diff)
180
pdist = self.
perm_maps
.getdefault_distance(prov.obj_class, prov.perms)
221
av_dir = self.
perm_maps
.getdefault_direction(av.obj_class, av.perms)
227
self.
perm_maps
.getdefault_direction(x.obj_class, x.perms
[
all
...]
policygen.py
87
def set_gen_refpol(self, if_set=None,
perm_maps
=None):
98
self.ifgen = InterfaceGenerator(if_set,
perm_maps
)
305
def __init__(self, ifs,
perm_maps
=None):
308
self.matcher = matching.AccessMatcher(
perm_maps
)
/external/selinux/policycoreutils/audit2allow/
audit2allow
210
perm_maps
= objectmodel.PermMappings()
211
perm_maps
.from_file(fd)
213
return (ifs,
perm_maps
)
309
ifs,
perm_maps
= self.__load_interface_info()
310
g.set_gen_refpol(ifs,
perm_maps
)
audit2why
210
perm_maps
= objectmodel.PermMappings()
211
perm_maps
.from_file(fd)
213
return (ifs,
perm_maps
)
308
ifs,
perm_maps
= self.__load_interface_info()
309
g.set_gen_refpol(ifs,
perm_maps
)
Completed in 2703 milliseconds