/* Compute a SID to use when selecting a member of a polyinstantiated object of 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 SID was computed successfully.  */
int security_member_sid(u32 ssid, u32 tsid, u16 tclass, u32 *out_sid)
/* Compute a SID to use when selecting a member of a polyinstantiated object of 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 SID was computed successfully.  */
int security_member_sid(u32 ssid, u32 tsid, u16 tclass, u32 *out_sid)
{
	return security_compute_sid(ssid, tsid, tclass, AVTAB_MEMBER, out_sid,
				    false);
}