Yes. Most of it actually uses the major stuff to answer the question
'what ioctls are valid' 'what type of thing am I bashing on'
Just issuing ioctls doesnt help as we have overlaps 8( Also we dont want to
get into the DOS like execute 135 queries to figure out what it is by
deep magic patterns.
One suggestion is to do something like
if(MAJOR_HAS(st, named-property))
which solves that and also nicely fixes an extant problem in that there isnt
a good way to break down heirarchies of ioctl features right now. That is
one thing devfs namespaces can be abused to solve but isnt really the right
use of it.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/