git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfa76d4
)
tools/power turbostat: relax dependency on root permission
author
Len Brown
<len.brown@intel.com>
Fri, 15 Aug 2014 04:36:50 +0000
(
00:36
-0400)
committer
Len Brown
<len.brown@intel.com>
Mon, 9 Feb 2015 21:41:16 +0000
(16:41 -0500)
For turbostat to run as non-root, it needs to permissions:
1. read access to /dev/cpu/*/msr
via standard user/group/world file permissions
2. CAP_SYS_RAWIO
eg. # setcap cap_sys_rawio=ep turbostat
Yes, running as root still works.
Signed-off-by: Len Brown <len.brown@intel.com>
No differences found