aboutsummaryrefslogtreecommitdiffstats
path: root/sepolicy/file_contexts
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2014-04-05 14:05:13 -0700
committerSteve Kondik <shade@chemlab.org>2014-04-05 14:05:13 -0700
commit002b4f0a4f2579e1ff96244ba3804ce0729a9810 (patch)
tree61adb8d002106752d9f942696da59e8940bad5f0 /sepolicy/file_contexts
parentbd3a941634a8b60cd4ac87fafd2d29cf09a5d0bd (diff)
downloadvendor_replicant-002b4f0a4f2579e1ff96244ba3804ce0729a9810.tar.gz
vendor_replicant-002b4f0a4f2579e1ff96244ba3804ce0729a9810.tar.bz2
vendor_replicant-002b4f0a4f2579e1ff96244ba3804ce0729a9810.zip
cm: sepolicy: Allow ueventd to properly handle cpufreq changes
* We need to allow relabeling since these files can pop in and out if the governor is changed. Change-Id: Id75099290e24dac9962d4fed8148ec2df9e256b2
Diffstat (limited to 'sepolicy/file_contexts')
-rw-r--r--sepolicy/file_contexts2
1 files changed, 1 insertions, 1 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 65e21c9a..78b3ee18 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -3,6 +3,6 @@
#############################
# performance-related sysfs files (CM)
/sys/kernel/mm/ksm(/.*)? -- u:object_r:sysfs_writable:s0
-/sys/devices/system/cpu.*/cpufreq(/.*)? -- u:object_r:sysfs_writable:s0
+/sys/devices/system/cpu.*/cpufreq(/.*)? -- u:object_r:sysfs_devices_system_cpu:s0
/sys/block/mmcblk0/queue/scheduler -- u:object_r:sysfs_writable:s0