PERFORCE change 40051 for review
Robert Watson
rwatson at FreeBSD.org
Tue Oct 21 00:54:04 GMT 2003
http://perforce.freebsd.org/chv.cgi?CH=40051
Change 40051 by rwatson at 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.
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list