PERFORCE change 82933 for review

Christian S.J. Peron csjp at FreeBSD.org
Wed Aug 31 20:27:52 GMT 2005


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

Change 82933 by csjp at csjp_xor on 2005/08/31 20:27:10

	SYSCTL_INT expects to see an int *, not const int * so rather than
	pass this pointer use the macro constant instead. This unbreaks
	the build.

Affected files ...

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

Differences ...

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

@@ -122,7 +122,7 @@
  */
 const int mac_version = __MAC_version;
 SYSCTL_INT(_security_mac, OID_AUTO, version, CTLFLAG_RD,
-    &mac_version, 0, "MAC version");
+    0, __MAC_version, "MAC version");
 
 #if MAC_MAX_SLOTS > 32
 #error "MAC_MAX_SLOTS too large"
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