/* Obtains a SID associated with the security context that has the string representation specified by @scontext. Returns -EINVAL if the context is invalid, -ENOMEM if insufficient memory is available, or 0 on success.  */
int security_context_to_sid(const char *scontext, u32 scontext_len, u32 *sid)
/* Obtains a SID associated with the security context that has the string representation specified by @scontext. Returns -EINVAL if the context is invalid, -ENOMEM if insufficient memory is available, or 0 on success.  */
int security_context_to_sid(const char *scontext, u32 scontext_len, u32 *sid)
{
	return security_context_to_sid_core(scontext, scontext_len,
					    sid, SECSID_NULL, GFP_KERNEL, 0);
}