PERFORCE change 24677 for review
Chris Costello
chris at freebsd.org
Wed Feb 5 02:24:03 GMT 2003
http://perforce.freebsd.org/chv.cgi?CH=24677
Change 24677 by chris at chris_holly on 2003/02/04 18:23:36
Make the sysctl MIBs for trusted_interfaces and trust_all_interfaces
read/write. It can make sense in the case of USB interfaces or in
the case of ppp(4) theoretically. In any case, it's consistent.
Affected files ...
.. //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#197 edit
Differences ...
==== //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#197 (text+ko) ====
@@ -95,13 +95,14 @@
&destroyed_not_inited, 0, "Count of labels destroyed but not inited");
static int trust_all_interfaces = 0;
-SYSCTL_INT(_security_mac_biba, OID_AUTO, trust_all_interfaces, CTLFLAG_RD,
+SYSCTL_INT(_security_mac_biba, OID_AUTO, trust_all_interfaces, CTLFLAG_RW,
&trust_all_interfaces, 0, "Consider all interfaces 'trusted' by MAC/Biba");
TUNABLE_INT("security.mac.biba.trust_all_interfaces", &trust_all_interfaces);
static char trusted_interfaces[128];
-SYSCTL_STRING(_security_mac_biba, OID_AUTO, trusted_interfaces, CTLFLAG_RD,
- trusted_interfaces, 0, "Interfaces considered 'trusted' by MAC/Biba");
+SYSCTL_STRING(_security_mac_biba, OID_AUTO, trusted_interfaces, CTLFLAG_RW,
+ trusted_interfaces, sizeof(trusted_interfaces),
+ "Interfaces considered 'trusted' by MAC/Biba");
TUNABLE_STR("security.mac.biba.trusted_interfaces", trusted_interfaces,
sizeof(trusted_interfaces));
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