Lines Matching refs:generate

32     from sepolicy import generate
197 self.all_types = generate.get_all_types()
199 self.all_roles = generate.get_all_roles()
200 self.all_users = generate.get_all_users()
228 for i in generate.USERS:
230 …self.pages[generate.RUSER] = [self.SELECT_TYPE_PAGE, self.APP_PAGE, self.ADMIN_PAGE, self.USER_TRA…
231 …self.pages[generate.LUSER] = [self.SELECT_TYPE_PAGE, self.APP_PAGE, self.TRANSITION_PAGE, self.IN_…
232 …self.pages[generate.SANDBOX] = [self.SELECT_TYPE_PAGE, self.APP_PAGE, self.IN_NET_PAGE, self.OUT_N…
233 …self.pages[generate.EUSER] = [self.SELECT_TYPE_PAGE, self.EXISTING_USER_PAGE, self.TRANSITION_PAGE…
235 for i in generate.APPLICATIONS:
237 …self.pages[generate.USER] = [self.SELECT_TYPE_PAGE, self.APP_PAGE, self.USER_TRANSITION_PAGE, self…
343 return self.get_type() in generate.APPLICATIONS
440 return generate.SANDBOX
442 return generate.CGI
444 return generate.USER
446 return generate.DAEMON
448 return generate.DBUS
450 return generate.INETD
452 return generate.LUSER
454 return generate.AUSER
456 return generate.XUSER
458 return generate.TUSER
460 return generate.RUSER
462 return generate.EUSER
467 my_policy = generate.policy(self.get_name(), self.get_type())
474 if self.get_type() in generate.APPLICATIONS:
487 if self.get_type() is generate.DAEMON:
489 if self.get_type() == generate.USER:
494 if self.get_type() == generate.RUSER:
523 self.info(my_policy.generate(outputdir))
691 generate.verify_ports(self.in_tcp_entry.get_text())
692 generate.verify_ports(self.in_udp_entry.get_text())
699 generate.verify_ports(self.out_tcp_entry.get_text())
700 generate.verify_ports(self.out_udp_entry.get_text())
736 policy = generate.policy(name, self.get_type())