PERFORCE change 81724 for review

Robert Watson rwatson at FreeBSD.org
Tue Aug 9 11:30:07 GMT 2005


http://perforce.freebsd.org/chv.cgi?CH=81724

Change 81724 by rwatson at rwatson_peppercorn on 2005/08/09 11:29:30

	Un-staticize mac_version so modules can test it.
	
	Constify mac_version since it really shouldn't be changed at run-
	time.

Affected files ...

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

Differences ...

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

@@ -120,7 +120,7 @@
 /*
  * Export the MAC API version counter.
  */
-static int mac_version = __MAC_version;
+const int mac_version = __MAC_version;
 SYSCTL_INT(_security_mac, OID_AUTO, version, CTLFLAG_RD,
     &mac_version, 0, "MAC version");
 


More information about the p4-projects mailing list