[Bug 111241] New: one need root credentials to read cpuinfo_cur_freq content
From: <hidden>
Date: 2016-01-24 09:16:24
https://bugzilla.kernel.org/show_bug.cgi?id=111241 Bug ID: 111241 Summary: one need root credentials to read cpuinfo_cur_freq content Product: Power Management Version: 2.5 Kernel Version: 4.4.0-994-generic Hardware: All OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: cpufreq Assignee: linux-pm@vger.kernel.org Reporter: flux242@gmail.com Regression: No could somebody explain why do I need root credentials to read cpuinfo_cur_freq file? Why other files in the same directory have 444 and not 400 as the cpuinfo_cur_freq? What so special about the current cpu freq readings? $ lso /sys/devices/system/cpu/cpu?/cpufreq/cpuinfo* 400 -r-------- 1 root 4.0K Jan 24 09:30 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq 444 -r--r--r-- 1 root 4.0K Jan 24 09:37 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq 444 -r--r--r-- 1 root 4.0K Jan 24 09:37 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq 444 -r--r--r-- 1 root 4.0K Jan 24 09:37 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_transition_latency 400 -r-------- 1 root 4.0K Jan 24 09:53 /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_cur_freq 444 -r--r--r-- 1 root 4.0K Jan 24 09:53 /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_max_freq 444 -r--r--r-- 1 root 4.0K Jan 24 09:53 /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_min_freq 444 -r--r--r-- 1 root 4.0K Jan 24 09:53 /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_transition_latency -- You are receiving this mail because: You are the assignee for the bug.