Lines Matching refs:tclass
86 u16 tclass,
300 u16 tclass, in security_dump_masked_av() argument
317 tclass_name = policydb.p_class_val_to_name[tclass - 1]; in security_dump_masked_av()
318 tclass_dat = policydb.class_val_to_struct[tclass - 1]; in security_dump_masked_av()
372 u16 tclass, in type_attribute_bounds_av() argument
394 tclass, in type_attribute_bounds_av()
411 tclass, in type_attribute_bounds_av()
429 tclass, in type_attribute_bounds_av()
444 tclass, masked, "bounds"); in type_attribute_bounds_av()
454 u16 tclass, in context_struct_compute_av() argument
479 if ( !tclass || tclass > policydb.p_classes.nprim ) in context_struct_compute_av()
482 tclass_datum = policydb.class_val_to_struct[tclass - 1]; in context_struct_compute_av()
488 avkey.target_class = tclass; in context_struct_compute_av()
536 if ( tclass == SECCLASS_DOMAIN && in context_struct_compute_av()
555 tclass, requested, avd); in context_struct_compute_av()
560 struct context *ncontext, struct context *tcontext, u16 tclass) in security_validtrans_handle_fail() argument
573 o, n, t, policydb.p_class_val_to_name[tclass-1]); in security_validtrans_handle_fail()
585 u16 tclass) in security_validate_transition() argument
599 if ( !tclass || tclass > policydb.p_classes.nprim ) in security_validate_transition()
602 "unrecognized class %d\n", tclass); in security_validate_transition()
606 tclass_datum = policydb.class_val_to_struct[tclass - 1]; in security_validate_transition()
642 tcontext, tclass); in security_validate_transition()
666 int security_compute_av(u32 ssid, u32 tsid, u16 tclass, u32 requested, in security_compute_av() argument
698 rc = context_struct_compute_av(scontext, tcontext, tclass, requested, avd); in security_compute_av()
937 struct context *scontext, struct context *tcontext, u16 tclass, in compute_sid_handle_invalid_context() argument
953 n, s, t, policydb.p_class_val_to_name[tclass-1]); in compute_sid_handle_invalid_context()
965 u16 tclass, in security_compute_sid() argument
978 switch ( tclass ) in security_compute_sid()
1024 switch ( tclass ) in security_compute_sid()
1041 avkey.target_class = tclass; in security_compute_sid()
1066 switch ( tclass ) in security_compute_sid()
1090 rc = mls_compute_sid(scontext, tcontext, tclass, specified, &newcontext); in security_compute_sid()
1097 rc = compute_sid_handle_invalid_context(scontext, tcontext, tclass, in security_compute_sid()
1124 int security_transition_sid(u32 ssid, u32 tsid, u16 tclass, u32 *out_sid) in security_transition_sid() argument
1126 return security_compute_sid(ssid, tsid, tclass, AVTAB_TRANSITION, out_sid); in security_transition_sid()
1142 int security_member_sid(u32 ssid, u32 tsid, u16 tclass, u32 *out_sid) in security_member_sid() argument
1144 return security_compute_sid(ssid, tsid, tclass, AVTAB_MEMBER, out_sid); in security_member_sid()
1160 int security_change_sid(u32 ssid, u32 tsid, u16 tclass, u32 *out_sid) in security_change_sid() argument
1162 return security_compute_sid(ssid, tsid, tclass, AVTAB_CHANGE, out_sid); in security_change_sid()
1203 class_val = kdefs->av_perm_to_string[i].tclass; in validate_classes()