Lines Matching refs:tclass
297 extern char *av_to_string(uint32_t tclass, sepol_access_vector_t av);
387 sepol_security_class_t tclass; in main() local
732 tclass = atoi(ans); in main()
733 if (!tclass in main()
734 || tclass > policydb.p_classes.nprim) { in main()
739 policydb.class_val_to_struct[tclass - 1]; in main()
751 tclass = cladatum->s.value; in main()
759 ret = sepol_compute_av(ssid, tsid, tclass, 0, &avd); in main()
848 tclass = atoi(ans); in main()
849 if (!tclass in main()
850 || tclass > policydb.p_classes.nprim) { in main()
865 tclass = cladatum->s.value; in main()
870 sepol_transition_sid(ssid, tsid, tclass, in main()
874 sepol_member_sid(ssid, tsid, tclass, &ssid); in main()
877 sepol_change_sid(ssid, tsid, tclass, &ssid); in main()
1045 tclass = atoi(ans); in main()
1046 if (!tclass in main()
1047 || tclass > policydb.p_classes.nprim) { in main()
1062 tclass = cladatum->s.value; in main()
1064 sepol_genfs_sid(fstype, path, tclass, &ssid); in main()
1141 tclass = atoi(ans); in main()
1142 if (!tclass in main()
1143 || tclass > policydb.p_classes.nprim) { in main()
1148 policydb.class_val_to_struct[tclass - 1]; in main()
1160 tclass = cladatum->s.value; in main()
1165 tclass, 0, &avd, &reason, in main()
1194 tclass = atoi(ans); in main()
1195 if (!tclass in main()
1196 || tclass > policydb.p_classes.nprim) { in main()
1201 policydb.class_val_to_struct[tclass - 1]; in main()
1213 tclass = cladatum->s.value; in main()
1218 newsid, tasksid, tclass, in main()