Searched hist:214063 (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.0-release/sys/geom/
H A Dgeom_dev.cdiff 214063 Tue Oct 19 15:03:09 MDT 2010 jh Use make_dev_p(9) with the MAKEDEV_CHECKNAME flag instead of make_dev(9)
and print a diagnostic if the call fails.

This avoids a panic when a device with an invalid name is attempted to
be registered. For example the label class gets device names from
untrusted input.

Reviewed by: freebsd-geom

Completed in 117 milliseconds