sepolicy: new label for io scheduler sysfs nodes
* needed for io scheduler in performance settings Change-Id: I818340ed62e3e1dd2674b93340b31723c7a985f4
This commit is contained in:
parent
65aff66ecb
commit
afbfad59d6
@ -5,3 +5,6 @@ type auditd_log, file_type, data_file_type;
|
||||
|
||||
# Themes
|
||||
type theme_data_file, file_type, data_file_type;
|
||||
|
||||
# Performance settings
|
||||
type sysfs_devices_system_iosched, file_type, sysfs_type;
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user