Lines Matching full:print
98 print("")
101 print("")
104 print("")
107 print("")
110 print("")
113 print("")
116 print("")
119 print("")
122 print("")
125 print("")
128 print("")
131 print("")
134 print("")
137 print("")
140 print("")
143 print("")
146 print("")
149 print("Testing modules...")
153 print("Transaction number: %s" % trans_cnt)
154 print("Module list size: %s" % mlist_size)
156 print("List reference: %s" % mlist)
159 print("No modules installed!")
160 print("This is not necessarily a test failure.")
165 print("Module reference: %s" % module)
166 print("Module name: %s" % semanage.semanage_module_get_name(module))
169 print("Testing seusers...")
174 print("Query status (commit number): %s" % status)
177 print("No seusers found!")
178 print("This is not necessarily a test failure.")
182 print("seseuser reference: %s" % seuser)
183 print("seuser name: %s" % semanage.semanage_seuser_get_name(seuser))
184 print(" seuser mls range: %s" % semanage.semanage_seuser_get_mlsrange(seuser))
185 print(" seuser sename: %s" % semanage.semanage_seuser_get_sename(seuser))
189 print("Testing users...")
194 print("Query status (commit number): %s" % status)
197 print("No users found!")
198 print("This is not necessarily a test failure.")
202 print("User reference: %s" % user)
203 print("User name: %s" % semanage.semanage_user_get_name(user))
204 print(" User labeling prefix: %s" % semanage.semanage_user_get_prefix(user))
205 print(" User mls level: %s" % semanage.semanage_user_get_mlslevel(user))
206 print(" User mls range: %s" % semanage.semanage_user_get_mlsrange(user))
207 print(" User number of roles: %s" % semanage.semanage_user_get_num_roles(user))
208 print(" User roles: ")
214 print(" %s" % role)
219 print("Testing ports...")
224 print("Query status (commit number): %s" % status)
227 print("No ports found!")
228 print("This is not necessarily a test failure.")
232 print("Port reference: %s" % port)
245 print("Port: %s %s Context: %s" % (range_str, proto_str, con_str))
249 print("Testing file contexts...")
254 print("Query status (commit number): %s" % status)
257 print("No file contexts found!")
258 print("This is not necessarily a test failure.")
262 print("File Context reference: %s" % fcon)
273 print("File Expr: %s [%s] Context: %s" % (expr, type_str, con_str))
277 print("Testing network interfaces...")
282 print("Query status (commit number): %s" % status)
285 print("No network interfaces found!")
286 print("This is not necessarily a test failure.")
290 print("Interface reference: %s" % iface)
300 print("Interface: %s Context: %s Message Context: %s" % (name, if_con_str, msg_con_str))
304 print("Testing booleans...")
309 print("Query status (commit number): %s" % status)
312 print("No booleans found!")
313 print("This is not necessarily a test failure.")
317 print("Boolean reference: %s" % pbool)
320 print("Boolean: %s Value: %s" % (name, value))
324 print("Testing active booleans...")
329 print("Query status (commit number): %s" % status)
332 print("No active booleans found!")
333 print("This is not necessarily a test failure.")
337 print("Active boolean reference: %s" % abool)
340 print("Active Boolean: %s Value: %s" % (name, value))
344 print("Testing network nodes...")
349 print("Query status (commit number): %s" % status)
352 print("No network nodes found!")
353 print("This is not necessarily a test failure.")
357 print("Network node reference: %s" % node)
375 print("Network Node: %s/%s (%s) Context: %s" % (addr, mask, proto_str, con_str))
379 print("Testing user write...")
385 print("User object created")
391 print("User name set: %s" % semanage.semanage_user_get_name(user))
401 print("User prefix set: %s" % semanage.semanage_user_get_prefix(user))
407 print("User mlsrange: %s" % semanage.semanage_user_get_mlsrange(user))
413 print("User mlslevel: %s" % semanage.semanage_user_get_mlslevel(user))
419 print("User key extracted: %s" % key)
425 print("Exists status (commit number): %s" % status)
432 print("Query status (commit number): %s" % status)
434 print("Starting transaction..")
446 print("Commit status (transaction number): %s" % status)
453 print("Removing user...")
458 print("User delete: %s" % status)
460 print("Resetting user...")
465 print("User modify: %s" % status)
470 print("Commit status (transaction number): %s" % status)
478 print("Testing seuser write...")
484 print("SEUser object created.")
490 print("SEUser name set: %s" % semanage.semanage_seuser_get_name(seuser))
496 print("SEUser seuser: %s" % semanage.semanage_seuser_get_sename(seuser))
502 print("SEUser mlsrange: %s" % semanage.semanage_seuser_get_mlsrange(seuser))
508 print("SEUser key extracted: %s" % key)
514 print("Exists status (commit number): %s" % status)
521 print("Query status (commit number): %s" % status)
523 print("Starting transaction...")
535 print("Commit status (transaction number): %s" % status)
542 print("Removing seuser...")
547 print("Seuser delete: %s" % status)
549 print("Resetting seuser...")
554 print("Seuser modify: %s" % status)
559 print("Commit status (transaction number): %s" % status)
567 print("Testing port write...")
573 print("SEPort object created.")
579 print("SEPort range set: %s-%s" % (low, high))
583 …print("SEPort protocol set: %s" % semanage.semanage_port_get_proto_str(semanage.SEMANAGE_PROTO_TCP…
589 print("SEContext object created (for port).")
595 print("SEContext user: %s" % semanage.semanage_context_get_user(con))
601 print("SEContext role: %s" % semanage.semanage_context_get_role(con))
607 print("SEContext type: %s" % semanage.semanage_context_get_type(con))
613 print("SEContext mls: %s" % semanage.semanage_context_get_mls(con))
619 print("SEPort context set: %s" % con)
625 print("SEPort key extracted: %s" % key)
631 print("Exists status (commit number): %s" % status)
638 print("Query status (commit number): %s" % status)
640 print("Starting transaction...")
652 print("Commit status (transaction number): %s" % status)
659 print("Removing port range...")
664 print("Port range delete: %s" % status)
666 print("Resetting port range...")
671 print("Port range modify: %s" % status)
676 print("Commit status (transaction number): %s" % status)
685 print("Testing file context write...")
691 print("SEFcontext object created.")
697 print("SEFContext expr set: %s" % semanage.semanage_fcontext_get_expr(fcon))
702 print("SEFContext type set: %s" % semanage.semanage_fcontext_get_type_str(ftype))
708 print("SEContext object created (for file context).")
714 print("SEContext user: %s" % semanage.semanage_context_get_user(con))
720 print("SEContext role: %s" % semanage.semanage_context_get_role(con))
726 print("SEContext type: %s" % semanage.semanage_context_get_type(con))
732 print("SEContext mls: %s" % semanage.semanage_context_get_mls(con))
738 print("SEFcontext context set: %s" % con)
744 print("SEFcontext key extracted: %s" % key)
751 print("Exists status (commit number): %s" % status)
757 print("Query status (commit number): %s" % status)
759 print("Starting transaction...")
771 print("Commit status (transaction number): %s" % status)
778 print("Removing file context...")
783 print("File context delete: %s" % status)
785 print("Resetting file context...")
790 print("File context modify: %s" % status)
795 print("Commit status (transaction number): %s" % status)
804 print("Testing network interface write...")
810 print("SEIface object created.")
816 print("SEIface name set: %s" % semanage.semanage_iface_get_name(iface))
822 print("SEContext object created (for network interface)")
828 print("SEContext user: %s" % semanage.semanage_context_get_user(con))
834 print("SEContext role: %s" % semanage.semanage_context_get_role(con))
840 print("SEContext type: %s" % semanage.semanage_context_get_type(con))
846 print("SEContext mls: %s" % semanage.semanage_context_get_mls(con))
852 print("SEIface interface context set: %s" % con)
858 print("SEIface message context set: %s" % con)
864 print("SEIface key extracted: %s" % key)
870 print("Exists status (commit number): %s" % status)
877 print("Query status (commit number): %s" % status)
879 print("Starting transaction...")
891 print("Commit status (transaction number): %s" % status)
898 print("Removing interface...")
903 print("Interface delete: %s" % status)
905 print("Resetting interface...")
910 print("Interface modify: %s" % status)
915 print("Commit status (transaction number): %s" % status)
924 print("Testing boolean write...")
930 print("SEBool object created.")
936 print("SEBool name set: %s" % semanage.semanage_bool_get_name(pbool))
940 print("SEbool value set: %s" % semanage.semanage_bool_get_value(pbool))
946 print("SEBool key extracted: %s" % key)
952 print("Exists status (commit number): %s" % status)
959 print("Query status (commit number): %s" % status)
961 print("Starting transaction...")
974 print("Commit status (transaction number): %s" % status)
981 print("Removing boolean...")
986 print("Boolean delete: %s" % status)
988 print("Resetting boolean...")
993 print("Boolean modify: %s" % status)
998 print("Commit status (transaction number): %s" % status)
1006 print("Testing active boolean write...")
1012 print("SEBool key created: %s" % key)
1018 print("Query status (commit number): %s" % status)
1024 print("SEBool object created.")
1030 print("SEBool name set: %s" % semanage.semanage_bool_get_name(abool))
1034 print("SEbool value set: %s" % semanage.semanage_bool_get_value(abool))
1036 print("Starting transaction...")
1048 print("Commit status (transaction number): %s" % status)
1050 print("Resetting old active boolean...")
1059 print("SEBool active reset: %s" % status)
1064 print("Commit status (transaction number): %s" % status)
1071 print("Testing network node write...")
1077 print("SENode object created.")
1089 …print("SENode protocol set: %s" % semanage.semanage_node_get_proto_str(semanage.SEMANAGE_PROTO_IP6…
1095 print("SEContext object created (for node).")
1101 print("SEContext user: %s" % semanage.semanage_context_get_user(con))
1107 print("SEContext role: %s" % semanage.semanage_context_get_role(con))
1113 print("SEContext type: %s" % semanage.semanage_context_get_type(con))
1119 print("SEContext mls: %s" % semanage.semanage_context_get_mls(con))
1125 print("SENode context set: %s" % con)
1131 print("SENode key extracted: %s" % key)
1137 print("Exists status (commit number): %s" % status)
1144 print("Query status (commit number): %s" % status)
1146 print("Starting transaction...")
1158 print("Commit status (transaction number): %s" % status)
1165 print("Removing network node...")
1170 print("Network node delete: %s" % status)
1172 print("Resetting network node...")
1177 print("Network node modify: %s" % status)
1182 print("Commit status (transaction number): %s" % status)
1224 print("Verbose output selected.")
1288 print(err.msg, file=sys.stderr)
1290 print(err.msg, file=sys.stderr)
1292 print(err.msg, file=sys.stderr)