>> What does Mesa use kcmp(2) for? > Working out whether two device handles are to the same DRM device.
>> Is there another way to accomplish what Mesa is trying to use it for? > I don't know of one. Is fstat() plus checking st_rdev (and possibly other fields) insufficient? /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTML mo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B