perfd: grant rw to /sys/devices/system/cpu

avc: denied { write } for comm="perfd" name="hispeed_freq" dev="sysfs"
ino=25019 scontext=u:r:perfd:s0
tcontext=u:object_r:sysfs_devices_system_cpu:s0 tclass=file

Bug: 29359497
Change-Id: I3bd1e5c20f872ec9f834cdaf7cd6665452b934d5
diff --git a/sepolicy/perfd.te b/sepolicy/perfd.te
index 4a2a376..4382b06 100644
--- a/sepolicy/perfd.te
+++ b/sepolicy/perfd.te
@@ -18,6 +18,9 @@
 
 allow perfd sysfs_power_management:file w_file_perms;
 
+# allow writing to /sys/devices/system/cpu/*
+allow perfd sysfs_devices_system_cpu:file rw_file_perms;
+
 # perfd uses kill(pid, 0) to determine if a process exists.
 # Determining if a process exists does not require the kill capability
 # since a permission denied indicates the process exists.