Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2003 17:54:04 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 40051 for review
Message-ID:  <200310210054.h9L0s4Hv009984@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=40051

Change 40051 by rwatson@rwatson_tislabs on 2003/10/20 17:53:52

	Export mac_labelmbufs globally from kern_mac.c: it probably
	belongs in mac_net.c, but flag ownership isn't figured out yet.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#416 edit
.. //depot/projects/trustedbsd/mac/sys/security/mac/mac_internal.h#5 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#416 (text+ko) ====

@@ -133,7 +133,7 @@
  * be a problem.  Note: currently no locking.  Will this be a problem?
  */
 #ifndef MAC_ALWAYS_LABEL_MBUF
-static int	mac_labelmbufs = 0;
+int	mac_labelmbufs = 0;
 #endif
 
 static int	mac_enforce_fs = 1;

==== //depot/projects/trustedbsd/mac/sys/security/mac/mac_internal.h#5 (text+ko) ====

@@ -56,6 +56,9 @@
 extern struct mac_policy_list_head	mac_static_policy_list;
 extern int				mac_late;
 extern int				mac_enforce_sysv;
+#ifndef MAC_ALWAYS_LABEL_MBUF
+extern int				mac_labelmbufs;
+#endif
 
 /*
  * MAC Framework global types and constants.



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