mac_relabel_cred() accepts two cred labels, not a cred label and a

vnode label; update assertion.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
This commit is contained in:
Robert Watson 2003-11-15 00:26:02 +00:00
parent 6fd222a011
commit 1862cd57cf

View File

@ -994,7 +994,7 @@ mac_test_relabel_cred(struct ucred *cred, struct label *newlabel)
{
ASSERT_CRED_LABEL(cred->cr_label);
ASSERT_VNODE_LABEL(newlabel);
ASSERT_CRED_LABEL(newlabel);
}
static void