HomeSort by relevance Sort by last modified time
    Searched refs:setype (Results 1 - 4 of 4) sorted by null

  /external/selinux/policycoreutils/sepolicy/sepolicy/
__init__.py 45 def info(setype, name=None):
46 dict_list = _policy.info(setype, name)
53 for setype in types:
54 if setype not in valid_types:
56 seinfo[setype] = True
122 def get_file_types(setype):
126 if f.startswith(gen_short_name(setype)):
137 def get_writable_files(setype):
142 permlist = search([ALLOW], {'source': setype, 'permlist': ['open', 'write'], 'class': 'file'})
159 if i['target'] != setype
    [all...]
gui.py     [all...]
  /external/selinux/policycoreutils/sandbox/
sandbox 199 self.setype = DEFAULT_TYPE
321 parser.add_option("-t", "--type", dest="setype", action="store", default=None,
373 self.setype = DEFAULT_X_TYPE
380 if self.__options.setype:
381 self.setype = self.__options.setype
387 if not self.__options.setype:
388 self.setype = selinux.getcon()[1].split(":")[2]
423 self.__execcon = "%s:%s:%s:%s" % (con[0], con[1], self.setype, level)
  /external/selinux/policycoreutils/semanage/
seobject.py     [all...]

Completed in 139 milliseconds