Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2007 06:10:40 GMT
From:      Zhouyi ZHOU <zhouzhouyi@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 125206 for review
Message-ID:  <200708160610.l7G6AeIY012864@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=125206

Change 125206 by zhouzhouyi@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\)"
 



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