On 17 December 2016 at 05:09, Jonathan Gray jsg@jsg.id.au wrote:
When constructing a path to a device node the minor number retrieved from fstat needs to have the offset of the node type subtracted from it. Control and render node types have the same major as the primary node but each has their own block of minor types at fixed offsets.
v2: remove min < base test as requested by Emil
Thanks Jonathan, I've pushed the lot to master !
-Emil