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:
parent
6fd222a011
commit
1862cd57cf
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user