Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Feb 2004 20:26:17 +0300 (MSK)
From:      Maxim Konovalov <maxim@macomnet.ru>
To:        Joel Ray Holveck <joelh@piquan.org>
Cc:        hackers@freebsd.org
Subject:   Re: Panic in /proc
Message-ID:  <20040202202524.I61487@news1.macomnet.ru>
In-Reply-To: <87n084cyp1.fsf@thor.piquan.org>
References:  <87n084cyp1.fsf@thor.piquan.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 31 Jan 2004, 00:24-0800, Joel Ray Holveck wrote:

> Here's a way to panic FreeBSD 5.2, as any user:
>
>     dd if=/proc/curproc/map iseek=0x8000 bs=4096 of=/dev/null count=1
>
> I briefly examined the core.  It appears that pseudofs is trying to
> malloc an sbuf big enough to hold everything up to the 128 MB mark
> that we requested, which it intends to get procfs to fill.  Of course,
> the malloc fails, and the kernel panics.

Please fill a PR.

-- 
Maxim Konovalov, maxim@macomnet.ru, maxim@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040202202524.I61487>