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

  /external/selinux/policycoreutils/gui/
loginsPage.py 149 serange = self.loginsMLSEntry.get_text().strip()
150 if serange == "":
151 serange = "s0"
156 (rc, out) = commands.getstatusoutput("semanage login -a -s %s -r %s %s" % (seuser, serange, target))
165 self.store.set_value(iter, 2, seobject.translate(serange))
169 serange = self.loginsMLSEntry.get_text().strip()
170 if serange == "":
171 serange = "s0"
176 (rc, out) = commands.getstatusoutput("semanage login -m -s %s -r %s %s" % (seuser, serange, target))
185 self.store.set_value(iter, 2, seobject.translate(serange))
    [all...]
  /external/selinux/policycoreutils/semanage/
seobject.py 94 def log(self, msg, name="", sename="", serole="", serange="", oldsename="", oldserole="", oldserange=""):
103 if serange != oldserange:
107 self.log_list.append([self.audit_fd, audit.AUDIT_ROLE_ASSIGN, sys.argv[0], str(msg), name, 0, sename, serole, serange, oldsename, oldserole, oldserange, "", "", ""])
109 def log_remove(self, msg, name="", sename="", serole="", serange="", oldsename="", oldserole="", oldserange=""):
110 self.log_list.append([self.audit_fd, audit.AUDIT_ROLE_REMOVE, sys.argv[0], str(msg), name, 0, sename, serole, serange, oldsename, oldserole, oldserange, "", "", ""])
122 def log(self, msg, name="", sename="", serole="", serange="", oldsename="", oldserole="", oldserange=""):
132 if serange != "" and serange != None:
133 message += " MLSRange=" + serange
138 def log_remove(self, msg, name="", sename="", serole="", serange="", oldsename="", oldserole="", oldserange="")
    [all...]
  /external/selinux/policycoreutils/scripts/
chcat 73 serange = user[1].split("-")
76 if len(serange) > 1:
77 top = serange[1].split(":")
87 new_serange = "%s-%s:%s" % (serange[0], top[0], ",".join(cats))
89 new_serange = "%s-%s" % (serange[0], top[0])
153 serange = user[1].split("-")
156 if len(serange) > 1:
157 top = serange[1].split(":")
167 new_serange = "%s-%s:%s" % (serange[0], top[0], ",".join(cats))
169 new_serange = "%s-%s" % (serange[0], top[0]
    [all...]

Completed in 76 milliseconds