Subject: Re: Frequently panic while bulding pacakges.
To: Takahiro Kambe <taca@back-street.net>
From: David Holland <dholland+netbsd@eecs.harvard.edu>
List: current-users
Date: 09/11/2007 19:37:22
On Wed, Sep 12, 2007 at 07:35:47AM +0900, Takahiro Kambe wrote:
 > > Try this patch:
 > > 
 > >    http://www.eecs.harvard.edu/~dholland/tmp/netbsd/plimit-locking-2.patch
 >
 > Thanks.

I, uh, screwed up slightly - please re-fetch the patch, or apply the
following over it. Or just comment out the KASSERT that doesn't compile.
*sigh*

diff -r 29198b442d4b sys/sys/resourcevar.h
--- a/sys/sys/resourcevar.h	Mon Sep 10 20:12:12 2007 -0400
+++ b/sys/sys/resourcevar.h	Tue Sep 11 19:13:12 2007 -0400
@@ -113,6 +113,7 @@ void	uid_init(void);
 void	uid_init(void);
 
 extern char defcorename[];
+extern struct plimit limit0;  /* for KASSERTing only */
 
 extern int security_setidcore_dump;
 extern char security_setidcore_path[];


-- 
   - David A. Holland / dholland@eecs.harvard.edu