Thomas Hellstr�m wrote:
Hi!

Is it OK to have different permissions for the different functions in a
DRM IOCTL, requiring the caller to be root on some functions but not
other?

You mean by adding additional checks within the body of an ioctl somewhere, on top of the simple flags where the ioctl is initially declared?


I don't see that it is a particular problem to do this. Eg. you could allow the X server access to some commands in the via_verifier which aren't available to regular clients. I think that sort of usage would make a lot of sense.

Keith


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to