Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 May 2002 19:14:49 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 10632 for review
Message-ID:  <200205020214.g422EnR53324@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=10632

Change 10632 by rwatson@rwatson_curry on 2002/05/01 19:13:51

	Expose the basic security.mac.ifoff.enabled sysctl as a tunable.
	Why you'd load this module before booting the kernel and not
	mean it, I'm not sure, but I guess I needed to for debugging
	purposes, so why not share.

Affected files ...

... //depot/projects/trustedbsd/mac/sys/security/mac_ifoff/mac_ifoff.c#5 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/security/mac_ifoff/mac_ifoff.c#5 (text+ko) ====

@@ -76,6 +76,7 @@
 static int	mac_ifoff_enabled = 1;
 SYSCTL_INT(_security_mac_ifoff, OID_AUTO, enabled, CTLFLAG_RW,
     &mac_ifoff_enabled, 0, "Enforce ifoff policy");
+TUNABLE_INT("security.mac.ifoff.enabled", &mac_ifoff_enabled);
 
 static int	mac_ifoff_lo_enabled = 1;
 SYSCTL_INT(_security_mac_ifoff, OID_AUTO, lo_enabled, CTLFLAG_RW,

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205020214.g422EnR53324>