PERFORCE change 125206 for review
Zhouyi ZHOU
zhouzhouyi at FreeBSD.org
Wed Aug 15 23:10:41 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=125206
Change 125206 by zhouzhouyi at zhouzhouyi_mactest on 2007/08/16 06:09:45
Only the mls label needs to be checked in ifnet relabel
Affected files ...
.. //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/tests/netinet/00.t#3 edit
Differences ...
==== //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/tests/netinet/00.t#3 (text+ko) ====
@@ -42,12 +42,13 @@
echo "enabling mactest pseudo interface"
#case 1,2,3: set the maclabel of the interface, effective, range or both is allowed, while
# the subject should be priviledeged.
+
mactestexpect "setifmac:.Operation.not.permitted" "" -m "biba/high(high-high)" \
-f ${mactest_conf} system ifconfig mac_test0 maclabel "mls/low\(low-high\)"
mactestexpect "setifmac:.Operation.not.permitted" "" -m "mls/low(low-low)" \
-f ${mactest_conf} system ifconfig mac_test0 maclabel "mls/low\(low-high\)"
echo -n "pid = -2 mac_test_check_ifnet_relabel:" > ${mactest_conf}
- echo "biba/high(low-high),mls/low(low-high) biba/low(low-low),mls/low(low-high) biba/,mls/low(low-high)" >> ${mactest_conf}
+ echo "biba/high(low-high),mls/low(low-high) mls/low(low-high) biba/,mls/low(low-high)" >> ${mactest_conf}
mactestexpect "" "" -m "biba/high(low-high),mls/low(low-high)" \
-f ${mactest_conf} system ifconfig mac_test0 maclabel "mls/low\(low-high\)"
More information about the p4-projects
mailing list