/* get the security ID of a set of credentials  */
static u32 cred_sid(const struct cred *cred)
/* get the security ID of a set of credentials  */
static u32 cred_sid(const struct cred *cred)
{
	const struct task_security_struct *tsec;
	tsec = cred->security;
	return tsec->sid;
}