diff options
author | rwatson <rwatson@FreeBSD.org> | 2003-11-15 00:26:02 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2003-11-15 00:26:02 +0000 |
commit | c06ae6b820db55f11cf31d2793cc2c104f3b8359 (patch) | |
tree | 6396bbf7a89cf8474d020897bd803c2f66b12821 /sys/security/mac_test/mac_test.c | |
parent | 9b5c6510c1c5dddd8bb915e4fb758f696b6c413b (diff) | |
download | FreeBSD-src-c06ae6b820db55f11cf31d2793cc2c104f3b8359.zip FreeBSD-src-c06ae6b820db55f11cf31d2793cc2c104f3b8359.tar.gz |
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
Diffstat (limited to 'sys/security/mac_test/mac_test.c')
-rw-r--r-- | sys/security/mac_test/mac_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/mac_test/mac_test.c b/sys/security/mac_test/mac_test.c index ba8e514..229c2a4 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 |