Lines Matching full:domain
43 usage_dict = {' --newtype':('-t [TYPES [TYPES ...]]',),' --customize':('-d DOMAIN','-a ADMIN_DOMAIN',"[ -w WRITEPATHS ]",), ' --admin_user':('[-r TRANSITION_ROLE ]',"[ -w WRITEPATHS ]",), ' --application':('COMMAND',"[ -w WRITEPATHS ]",), ' --cgi':('COMMAND',"[ -w WRITEPATHS ]",), ' --confined_admin':('-a ADMIN_DOMAIN',"[ -w WRITEPATHS ]",), ' --dbus':('COMMAND',"[ -w WRITEPATHS ]",), ' --desktop_user':('',"[ -w WRITEPATHS ]",),' --inetd':('COMMAND',"[ -w WRITEPATHS ]",),' --init':('COMMAND',"[ -w WRITEPATHS ]",), ' --sandbox':("[ -w WRITEPATHS ]",), ' --term_user':("[ -w WRITEPATHS ]",), ' --x_user':("[ -w WRITEPATHS ]",)}
76 raise ValueError("%s must be an SELinux process domain:\nValid domains: %s" % (v, ", ".join(booleans)))
93 raise ValueError("%s must be an SELinux process domain:\nValid domains: %s" % (values, ", ".join(domains)))
102 raise ValueError("%s must be an SELinux process domain:\nValid domains: %s" % (v, ", ".join(domains)))
125 raise ValueError("%s must be an SELinux admin domain:\nValid admin domains: %s" % (values, ", ".join(admins)))
279 args.domain.append(d)
281 for d in args.domain:
289 sepolicy.gui.SELinuxGui(args.domain, args.test)
297 gui.add_argument("-d", "--domain", default=None,
299 help=_("Domain name(s) of man pages to be created"))
316 test_domains = args.domain
318 for domain in test_domains:
319 m = ManPage(domain, path, args.root,args.source_files, args.web)
343 group.add_argument("-d", "--domain", nargs="+",
345 help=_("Domain name(s) of man pages to be created"))
362 group.add_argument("-d", "--domain", dest="domain", default=[],
364 help=_("show ports to which this domain can bind and/or connect"))
385 help=_("Source Domain"))
388 help=_("Target Domain"))
424 help=_('query SELinux Policy to see how a source process domain can transition to the target process domain'))
427 help=_("source process domain"))
430 help=_("target process domain"))
464 conflict_args = {'TYPES':(NEWTYPE,), 'DOMAIN':(EUSER,), 'ADMIN_DOMAIN':(AUSER, RUSER, EUSER,)}
491 if args.domain:
492 if args.policytype not in conflict_args['DOMAIN']:
512 mypolicy.set_existing_domains(args.domain)
551 pol.add_argument("-d", "--domain", dest="domain", default=[],
553 help=_("Enter domain type which you will be extending"))
556 help=_("Enter SELinux user(s) which will transition to this domain"))
559 help=_("Enter SELinux role(s) to which the administror domain will transition"))
562 help=_("Enter domain(s) which this confined admin will administrate"))