Lines Matching refs:name
24 static void usage(char *name) in usage() argument
26 printf("usage: %s [-m] policy_file context_file\n", name); in usage()
32 const char *name; member
67 for (i = 0; secclass_map[i].name; i++) in main()
68 fprintf(fout, "class %s\n", secclass_map[i].name); in main()
74 const char *name = initial_sid_to_string[i]; in main() local
76 if (name) in main()
77 fprintf(fout, "sid %s\n", name); in main()
84 for (i = 0; secclass_map[i].name; i++) { in main()
86 fprintf(fout, "class %s\n", map->name); in main()
105 for (i = 0; secclass_map[i].name; i++) { in main()
108 fprintf(fout, "mlsconstrain %s {\n", map->name); in main()
129 for (i = 0; secclass_map[i].name; i++) in main()
131 secclass_map[i].name); in main()
143 const char *name = initial_sid_to_string[i]; in main() local
145 if (name) in main()
146 fprintf(fout, "sid %s ", name); in main()