/* Compute a SID to use for labeling a new subject or object in the class @tclass based on a SID pair (@ssid, @tsid). Return -EINVAL if any of the parameters are invalid, -ENOMEM if insufficient memory is available, or %0 if the new SID was computed successfully.  */
int security_transition_sid(u32 ssid, u32 tsid, u16 tclass, u32 *out_sid)
/* Compute a SID to use for labeling a new subject or object in the class @tclass based on a SID pair (@ssid, @tsid). Return -EINVAL if any of the parameters are invalid, -ENOMEM if insufficient memory is available, or %0 if the new SID was computed successfully.  */
int security_transition_sid(u32 ssid, u32 tsid, u16 tclass, u32 *out_sid)
{
	return security_compute_sid(ssid, tsid, tclass, AVTAB_TRANSITION,
				    out_sid, true);
}