HEADS UP: device name checking on device registration

Jaakko Heinonen jh at FreeBSD.org
Wed Oct 13 08:49:59 UTC 2010


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


More information about the freebsd-current mailing list