root and capabilities list

ds 1000hz.radiowave at gmail.com
Wed Oct 15 21:01:04 UTC 2014


On 16.10.2014 00:53, Dimitri John Ledkov wrote:
> #include <cpuid.h>
>
> And then use __get_cpuid() for cpuid. I believe it's possible to
> retrieve it without being root that way.
> As user-space libraries use that to check if they can/cannot execute
> certain optimized instructions.
> (e.g. checking for SSE)
msr is where all the magic is for me.




More information about the Ubuntu-devel-discuss mailing list