cm: sepolicy: fix performance settings

Change-Id: Idea17856b4aef9258688a3ad58d0e5cac6d805a6
This commit is contained in:
Pawit Pornkitprasan 2015-01-03 12:44:43 +07:00 committed by Steve Kondik
parent c738cc26ca
commit 24a971ad42
3 changed files with 4 additions and 0 deletions

View File

@ -91,6 +91,7 @@ on boot
chown system system /sys/block/mmcblk0/queue/scheduler
chmod 0664 /sys/block/mmcblk0/queue/scheduler
restorecon /sys/block/mmcblk0/queue/scheduler
chown system system /dev/cpuctl/apps/cpu.notify_on_migrate
chmod 0664 /dev/cpuctl/apps/cpu.notify_on_migrate

View File

@ -25,6 +25,7 @@ BOARD_SEPOLICY_UNION += \
su.te \
sysinit.te \
system.te \
system_app.te \
ueventd.te \
vold.te \
mac_permissions.xml

2
sepolicy/system_app.te Normal file
View File

@ -0,0 +1,2 @@
# For performance settings
allow system_app sysfs_devices_system_cpu:file rw_file_perms;