Lines Matching refs:generate
205 self.all_types = sepolicy.generate.get_all_types()
207 self.all_roles = sepolicy.generate.get_all_roles()
208 self.all_users = sepolicy.generate.get_all_users()
236 for i in sepolicy.generate.USERS:
238 …self.pages[sepolicy.generate.RUSER] = [self.SELECT_TYPE_PAGE, self.APP_PAGE, self.ADMIN_PAGE, self…
239 …self.pages[sepolicy.generate.LUSER] = [self.SELECT_TYPE_PAGE, self.APP_PAGE, self.TRANSITION_PAGE,…
240 …self.pages[sepolicy.generate.SANDBOX] = [self.SELECT_TYPE_PAGE, self.APP_PAGE, self.IN_NET_PAGE, s…
241 …self.pages[sepolicy.generate.EUSER] = [self.SELECT_TYPE_PAGE, self.EXISTING_USER_PAGE, self.TRANSI…
243 for i in sepolicy.generate.APPLICATIONS:
245 …self.pages[sepolicy.generate.USER] = [self.SELECT_TYPE_PAGE, self.APP_PAGE, self.USER_TRANSITION_P…
351 return self.get_type() in sepolicy.generate.APPLICATIONS
448 return sepolicy.generate.SANDBOX
450 return sepolicy.generate.CGI
452 return sepolicy.generate.USER
454 return sepolicy.generate.DAEMON
456 return sepolicy.generate.DBUS
458 return sepolicy.generate.INETD
460 return sepolicy.generate.LUSER
462 return sepolicy.generate.AUSER
464 return sepolicy.generate.XUSER
466 return sepolicy.generate.TUSER
468 return sepolicy.generate.RUSER
470 return sepolicy.generate.EUSER
475 my_policy = sepolicy.generate.policy(self.get_name(), self.get_type())
482 if self.get_type() in sepolicy.generate.APPLICATIONS:
495 if self.get_type() is sepolicy.generate.DAEMON:
497 if self.get_type() == sepolicy.generate.USER:
502 if self.get_type() == sepolicy.generate.RUSER:
531 self.info(my_policy.generate(outputdir))
699 generate.verify_ports(self.in_tcp_entry.get_text())
700 generate.verify_ports(self.in_udp_entry.get_text())
707 generate.verify_ports(self.out_tcp_entry.get_text())
708 generate.verify_ports(self.out_udp_entry.get_text())
744 policy = generate.policy(name, self.get_type())