You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to integrate GPU temperature information into my tool but I realized APIs needs to have sudo access in order to get the query successfully. But my tool gets used in some of the environment where user may not have sudo access hence thought of checking if there is any other way to get GPU temperature information.
While I can understand 'sudo' restriction for setting temperature by user but I am fail to understand why does user need to have privilege access for reading the info.
Any suggestion will be a great help.
Thanks
The text was updated successfully, but these errors were encountered:
These restrictions are set by kernel (driver), not by user-space (L0 driver), and follow normal kernel security practices (temperature and power info could be used for side-channel attacks).
=> You should bring it up in the Linux kernel project.
(AFAIK such info is a security problem only when queried fast enough, but rather than restricting non-root query speed, kernel opts for disabling it completely.)
Hello,
I am trying to integrate GPU temperature information into my tool but I realized APIs needs to have sudo access in order to get the query successfully. But my tool gets used in some of the environment where user may not have sudo access hence thought of checking if there is any other way to get GPU temperature information.
While I can understand 'sudo' restriction for setting temperature by user but I am fail to understand why does user need to have privilege access for reading the info.
Any suggestion will be a great help.
Thanks
The text was updated successfully, but these errors were encountered: