PERFORCE change 84060 for review
Robert Watson
rwatson at FreeBSD.org
Wed Sep 21 15:45:00 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=84060
Change 84060 by rwatson at rwatson_zoo on 2005/09/21 15:44:25
Spot integrate of accounting bug fix from FreeBSD CVS into TrustedBSD
base, as this bug fix is required to pass the audit3 regression test
suite.
Affected files ...
.. //depot/projects/trustedbsd/base/sys/kern/kern_acct.c#24 integrate
Differences ...
==== //depot/projects/trustedbsd/base/sys/kern/kern_acct.c#24 (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;
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list