Date: Tue, 9 Aug 2005 11:30:05 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 81724 for review Message-ID: <200508091130.j79BU51t012349@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=81724 Change 81724 by rwatson@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");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508091130.j79BU51t012349>