sepolicy: new label for io scheduler sysfs nodes

* needed for io scheduler in performance settings

Change-Id: I818340ed62e3e1dd2674b93340b31723c7a985f4
diff --git a/sepolicy/file.te b/sepolicy/file.te
index 499ab3f..44f9478 100644
--- a/sepolicy/file.te
+++ b/sepolicy/file.te
@@ -5,3 +5,6 @@
 
 # Themes
 type theme_data_file, file_type, data_file_type;
+
+# Performance settings
+type sysfs_devices_system_iosched, file_type, sysfs_type;
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 0668ef5..ad1c404 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -15,7 +15,7 @@
 #############################
 # performance-related sysfs files (CM)
 /sys/devices/system/cpu.*/cpufreq(/.*)? --  u:object_r:sysfs_devices_system_cpu:s0
-/sys/block/mmcblk0/queue/scheduler  --    u:object_r:sysfs_writable:s0
+/sys/block/mmcblk.*/queue/scheduler  --    u:object_r:sysfs_devices_system_iosched:s0
 
 /data/hostapd(/.*)?         u:object_r:wifi_data_file:s0
 /data/misc/radio(/.*)?      u:object_r:radio_data_file:s0
diff --git a/sepolicy/system_app.te b/sepolicy/system_app.te
index 6ebd1ea..6c0e059 100644
--- a/sepolicy/system_app.te
+++ b/sepolicy/system_app.te
@@ -1,2 +1,3 @@
 # For performance settings
 allow system_app sysfs_devices_system_cpu:file rw_file_perms;
+allow system_app sysfs_devices_system_iosched:file rw_file_perms;