From 1862cd57cf06801b19b048ecc3dcc1bbc5d31b57 Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Sat, 15 Nov 2003 00:26:02 +0000 Subject: [PATCH] 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 --- sys/security/mac_test/mac_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/security/mac_test/mac_test.c b/sys/security/mac_test/mac_test.c index ba8e51429052..229c2a4a0219 100644 --- a/sys/security/mac_test/mac_test.c +++ b/sys/security/mac_test/mac_test.c @@ -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