Home | History | Annotate | Download | only in sepolicy

Lines Matching full:selinux

6 # semanage is a tool for managing SELinux configuration files
26 import selinux
81 v = selinux.selinux_boolean_sub(values)
83 raise ValueError("%s must be an SELinux process domain:\nValid domains: %s" % (v, ", ".join(booleans)))
88 v = selinux.selinux_boolean_sub(value)
90 raise ValueError("%s must be an SELinux boolean:\nValid boolean: %s" % (v, ", ".join(booleans)))
102 raise ValueError("%s must be an SELinux process domain:\nValid domains: %s" % (values, ", ".join(domains)))
111 raise ValueError("%s must be an SELinux process domain:\nValid domains: %s" % (v, ", ".join(domains)))
125 raise ValueError("%s must be an SELinux class:\nValid classes: %s" % (values, ", ".join(all_classes)))
139 raise ValueError("%s must be an SELinux admin domain:\nValid admin domains: %s" % (values, ", ".join(admins)))
166 raise ValueError("%s must be an SELinux port type:\nValid port types: %s" % (v, ", ".join(port_types)))
184 raise ValueError("%s invalid SELinux policy type\n%s" % (values, get_poltype_desc()))
197 raise ValueError("%s must be an SELinux user:\nValid users: %s" % (value, ", ".join(users)))
210 raise ValueError("%s must be an SELinux role:\nValid roles: %s" % (value, ", ".join(roles)))
330 help=_('Graphical User Interface for SELinux Policy'))
363 help=_('Generate SELinux man pages'))
366 help=_("path in which the generated SELinux man pages will be stored"))
370 help=_("Generate HTML man pages structure for selected SELinux man page"))
387 help=_('Query SELinux policy network information'))
392 help=_("list all SELinux port types"))
395 help=_("show SELinux type related to the port"))
398 help=_("Show ports defined for this SELinux type"))
421 help=_('query SELinux policy to see if domains can communicate with each other'))
439 rc, args.booleans = selinux.security_get_boolean_names()
448 help=_('query SELinux Policy to see description of booleans'))
467 help=_('query SELinux Policy to see how a source process domain can transition to the target process domain'))
568 help=_('List SELinux Policy interfaces'))
582 help="List all domains with SELinux user role interface - DOMAIN_role()")
598 help=_('Generate SELinux Policy module template'))
604 help=_("Enter SELinux user(s) which will transition to this domain"))
607 help=_("Enter SELinux role(s) to which the administror domain will transition"))
672 parser = argparse.ArgumentParser(description='SELinux Policy Inspection Tool')
676 default=None, help=_("Alternate SELinux policy, defaults to /sys/fs/selinux/policy"))