Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jul 2002 22:16:13 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 13855 for review
Message-ID:  <200207070516.g675GDMo038694@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=13855

Change 13855 by rwatson@rwatson_paprika on 2002/07/06 22:15:37

	Missing mac_mls_enabled check in socket visibility entry point.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/security/mac_mls/mac_mls.c#38 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/security/mac_mls/mac_mls.c#38 (text+ko) ====

@@ -1089,6 +1089,9 @@
 {
 	struct mac_mls *subj, *obj;
 
+	if (!mac_mls_enabled)
+		return (0);
+
 	subj = SLOT(&cred->cr_label);
 	obj = SLOT(socketlabel);
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207070516.g675GDMo038694>