PERFORCE change 100147 for review

Todd Miller millert at FreeBSD.org
Tue Jun 27 16:29:19 UTC 2006


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

Change 100147 by millert at millert_ibook on 2006/06/27 15:27:01

	Add security.mac.sebsd.mls sysctl

Affected files ...

.. //depot/projects/trustedbsd/sedarwin7/src/sedarwin/sedarwin/sebsd_sysctl.c#10 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin7/src/sedarwin/sedarwin/sebsd_sysctl.c#10 (text+ko) ====

@@ -368,6 +368,8 @@
 
 SYSCTL_INT(_security_mac_sebsd, OID_AUTO, verbose, CTLFLAG_RW,
     &sebsd_verbose, 0, " SEBSD Verbose Debug Stuff");
+SYSCTL_INT(_security_mac_sebsd, OID_AUTO, mls, CTLFLAG_RD,
+    &selinux_mls_enabled, 0, " SEBSD MLS enabled");
 SYSCTL_PROC(_security_mac_sebsd, OID_AUTO, sids, CTLTYPE_STRING|CTLFLAG_RD,
     NULL, 0, sysctl_list_sids, "A", "SEBSD SIDs");
 SYSCTL_PROC(_security_mac_sebsd, OID_AUTO, user_sids, CTLTYPE_STRING |
@@ -403,4 +405,5 @@
 	sysctl_register_oid(&sysctl__security_mac_sebsd_auditing);
 	sysctl_register_oid(&sysctl__security_mac_sebsd_enforcing);
 	sysctl_register_oid(&sysctl__security_mac_sebsd_policyvers);
+	sysctl_register_oid(&sysctl__security_mac_sebsd_mls);
 }


More information about the trustedbsd-cvs mailing list