Date: Wed, 30 May 2007 08:15:59 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 120602 for review Message-ID: <200705300815.l4U8FxM1090012@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=120602 Change 120602 by rwatson@rwatson_zoo on 2007/05/30 08:15:41 Remove duplicate test functions that got brought in when the MAC audit support was looped back from CVS. Affected files ... .. //depot/projects/trustedbsd/audit3/sys/security/mac_test/mac_test.c#11 edit Differences ... ==== //depot/projects/trustedbsd/audit3/sys/security/mac_test/mac_test.c#11 (text+ko) ==== @@ -1681,24 +1681,6 @@ COUNTER_DECL(check_proc_setuid); static int -mac_test_check_proc_setaudit(struct ucred *cred, struct auditinfo *ai) -{ - - ASSERT_CRED_LABEL(cred->cr_label); - - return (0); -} - -static int -mac_test_check_proc_setauid(struct ucred *cred, uid_t auid) -{ - - ASSERT_CRED_LABEL(cred->cr_label); - - return (0); -} - -static int mac_test_check_proc_setuid(struct ucred *cred, uid_t uid) { @@ -1982,15 +1964,6 @@ return (0); } -static int -mac_test_check_system_audit(struct ucred *cred, void *record, int length) -{ - - ASSERT_CRED_LABEL(cred->cr_label); - - return (0); -} - COUNTER_DECL(check_system_auditctl); static int mac_test_check_system_auditctl(struct ucred *cred, struct vnode *vp,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705300815.l4U8FxM1090012>