The caller from kernel is expected to provide an valid g_class
pointer, instead of traversing the global g_class list, just
assert that it is not NULL and use it directly instead.
MFC after: 2 weeks
Differential D25811
gctl_get_geom: Skip validation of g_class. delphij on Jul 26 2020, 6:03 AM. Authored by Tags None Referenced Files
Subscribers
Details
The caller from kernel is expected to provide an valid g_class MFC after: 2 weeks
Diff Detail
Event TimelineComment Actions It was primarily made paranoid because GEOM went into the kernel during a very turbulent period in terms of locking, and because some of the compatibility shims necessary to keep systems working were ... "interesting". |