Re: HEADS UP: device name checking on device registration

From: Jaakko Heinonen <jh_at_FreeBSD.org>
Date: Wed, 13 Oct 2010 11:49:53 +0300
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
Received on Wed Oct 13 2010 - 06:49:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:08 UTC