PERFORCE change 17735 for review

Robert Watson rwatson at freebsd.org
Thu Sep 19 22:25:32 GMT 2002


http://people.freebsd.org/~peter/p4db/chv.cgi?CH=17735

Change 17735 by rwatson at rwatson_tislabs on 2002/09/19 15:25:24

	Export sizeof(struct oldmac) as the label size, not sizeof(struct
	mac).
	
	Pointed out by:	amigus

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#272 edit

Differences ...

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

@@ -140,7 +140,7 @@
 SYSCTL_INT(_security_mac, OID_AUTO, enforce_vm, CTLFLAG_RW,
     &mac_enforce_vm, 0, "Enforce MAC policy on vm operations");
 
-static int	mac_label_size = sizeof(struct mac);
+static int	mac_label_size = sizeof(struct oldmac);
 SYSCTL_INT(_security_mac, OID_AUTO, label_size, CTLFLAG_RD,
     &mac_label_size, 0, "Pre-compiled MAC label size");
 
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