Date: Wed, 21 Sep 2005 15:46:01 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 84061 for review Message-ID: <200509211546.j8LFk1fW087853@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=84061 Change 84061 by rwatson@rwatson_zoo on 2005/09/21 15:45:51 Spot integrate of accounting bug fix from TrustedBSD base into TrustedBSD audit, as this bug fix is required to pass the audit3 regression test suite. Affected files ... .. //depot/projects/trustedbsd/audit3/sys/kern/kern_acct.c#4 integrate Differences ... ==== //depot/projects/trustedbsd/audit3/sys/kern/kern_acct.c#4 (text+ko) ==== @@ -40,7 +40,7 @@ */ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: src/sys/kern/kern_acct.c,v 1.74 2005/03/01 08:56:13 rwatson Exp $"); +__FBSDID("$FreeBSD: src/sys/kern/kern_acct.c,v 1.75 2005/09/21 15:28:07 rwatson Exp $"); #include "opt_mac.h" @@ -400,7 +400,7 @@ mtx_unlock(&acct_mtx); return; } - (void)VFS_STATFS(savacctp->v_mount, &sb, (struct thread *)0); + (void)VFS_STATFS(savacctp->v_mount, &sb, curthread); if (sb.f_bavail > acctresume * sb.f_blocks / 100) { acctp = savacctp; acctcred = savacctcred; @@ -422,7 +422,7 @@ mtx_unlock(&acct_mtx); return; } - (void)VFS_STATFS(acctp->v_mount, &sb, (struct thread *)0); + (void)VFS_STATFS(acctp->v_mount, &sb, curthread); if (sb.f_bavail <= acctsuspend * sb.f_blocks / 100) { savacctp = acctp; savacctflags = acctflags;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509211546.j8LFk1fW087853>