Date: Thu, 13 Sep 2007 08:14:43 GMT From: Zhouyi ZHOU <zhouzhouyi@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 126356 for review Message-ID: <200709130814.l8D8Ehi7057194@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=126356 Change 126356 by zhouzhouyi@zhouzhouyi_mactest on 2007/09/13 08:14:22 Add Mandatory Access Control test case for proc sched Affected files ... .. //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/tests/sched/00.t#1 add .. //depot/projects/soc2007/zhouzhouyi_mactest_soc/sys/security/mac_test/mac_test.c#4 edit Differences ... ==== //depot/projects/soc2007/zhouzhouyi_mactest_soc/sys/security/mac_test/mac_test.c#4 (text+ko) ==== @@ -2184,7 +2184,7 @@ { MAC_TEST_LOG_SUBMIT_WITHPID("mac_test_check_proc_debug " - "with cr_label:", + "with cr_label and proc label:", strlen("mac_test_check_proc_debug " "with cr_label and proc label:")); MAC_TEST_LOG_SUBMIT_LABEL2(cred, cred->cr_label, cred, p->p_ucred->cr_label); @@ -2201,10 +2201,10 @@ { MAC_TEST_LOG_SUBMIT_WITHPID("mac_test_check_proc_sched " - "with cr_label:", + "with cr_label and proc label:", strlen("mac_test_check_proc_sched " - "with cr_label:")); - MAC_TEST_LOG_SUBMIT_LABEL(cred, cred->cr_label); + "with cr_label and proc label:")); + MAC_TEST_LOG_SUBMIT_LABEL2(cred, cred->cr_label, cred, p->p_ucred->cr_label); LABEL_CHECK(cred->cr_label, MAGIC_CRED); LABEL_CHECK(p->p_ucred->cr_label, MAGIC_CRED); COUNTER_INC(check_proc_sched);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709130814.l8D8Ehi7057194>