cm: sepolicy: fix performance settings
Change-Id: Idea17856b4aef9258688a3ad58d0e5cac6d805a6
This commit is contained in:
parent
c738cc26ca
commit
24a971ad42
@ -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
|
||||
|
@ -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
2
sepolicy/system_app.te
Normal file
@ -0,0 +1,2 @@
|
||||
# For performance settings
|
||||
allow system_app sysfs_devices_system_cpu:file rw_file_perms;
|
Loading…
Reference in New Issue
Block a user