Date: Fri, 28 Jan 2005 14:14:29 -0500 From: "Mark W. Krentel" <krentel@dreamscape.com> To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>, freebsd-current@freebsd.org Cc: Pawel Jakub Dawidek <pjd@freebsd.org> Subject: Re: fstat triggered INVARIANTS panic in memrw() Message-ID: <200501281914.j0SJETJH052081@blue.mwk.domain> In-Reply-To: Your message of "Fri, 28 Jan 2005 13:59:15 %2B0100." <38517.1106917155@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "PHK" == Poul-Henning Kamp <phk@phk.freebsd.dk> writes: PHK> The only real problem here is that fstat(1) uses kvm in the first place. PHK> The necessary information should be exported via sysctls. PHK> No program used as part of regular system operation should use kvm. Ok. That still leaves btsockstat, netstat and trpt (and fstat) as setgid kmem programs. Are there plans to rewrite them? Until then, I think it's not a bad idea to put a bandaid on fstat(1), even if it's temporary. Also, there's still the bug that kvm_read(3), and kmem(4) don't check their arguments for values that lead to address wrap. --Mark
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501281914.j0SJETJH052081>