Date: Wed, 13 Oct 2010 11:49:53 +0300 From: Jaakko Heinonen <jh@FreeBSD.org> To: Andriy Gapon <avg@icyb.net.ua> Cc: freebsd-current@freebsd.org, Matthew Jacob <mj@feral.com> Subject: Re: HEADS UP: device name checking on device registration Message-ID: <20101013084953.GA54686@jh> In-Reply-To: <4CB4CBC1.40301@icyb.net.ua> References: <LA593D$584FAABD3BF6073282A094BECDF03362@libero.it> <20101012081744.GA48485@jh> <4CB4646F.3000703@feral.com> <4CB4CBC1.40301@icyb.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2010-10-12, Andriy Gapon wrote: > on 12/10/2010 16:36 Matthew Jacob said the following: > > Good workaround, still a nasty surprising bug. > > Yeah. I also would prefer ignoring such a partition or somehow sanitizing its > name or etc. panic(9) on bad internal state of a kernel sounds appropriate, > panic(9) on bad input sounds like trouble. I am working on a change for GEOM. I will post a patch to -geom for comments shortly. I want just to note that previously bad names could cause erratic behavior (including panics) deep in devfs code instead of catching them early. -- Jaakko
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101013084953.GA54686>
