Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nenolod
on Jan 30, 2014
|
parent
|
context
|
favorite
| on:
Slabbed-or-not: Detect if your VPS container is ru...
The point here is that the information in /proc/cpuinfo is virtualized, and therefore may not reflect reality...
nailer
on Jan 30, 2014
[–]
Would you have to be a kernel module to access the CPU directly?
aryastark
on Jan 30, 2014
|
parent
[–]
No. All binary programs access the CPU directly. Only certain instructions require being in a certain "ring" (i.e. access level). The CPUID instruction is non-privileged, meaning you can access it from user space.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: