Merge "[DO NOT MERGE] allow vendor init to access percpu_pagelist_high_fraction" into udc-qpr-dev
This commit is contained in:
commit
467d378ae4
3 changed files with 7 additions and 0 deletions
1
vendor/file.te
vendored
1
vendor/file.te
vendored
|
@ -1,2 +1,3 @@
|
||||||
type sysfs_modem_state, sysfs_type, fs_type;
|
type sysfs_modem_state, sysfs_type, fs_type;
|
||||||
type sysfs_gps, sysfs_type, fs_type;
|
type sysfs_gps, sysfs_type, fs_type;
|
||||||
|
type proc_percpu_pagelist_high_fraction, fs_type, proc_type;
|
||||||
|
|
3
vendor/genfs_contexts
vendored
3
vendor/genfs_contexts
vendored
|
@ -66,3 +66,6 @@ genfscon sysfs /devices/platform/gnssif/coredump
|
||||||
|
|
||||||
# modem state
|
# modem state
|
||||||
genfscon sysfs /devices/platform/cpif/modem_state u:object_r:sysfs_modem_state:s0
|
genfscon sysfs /devices/platform/cpif/modem_state u:object_r:sysfs_modem_state:s0
|
||||||
|
|
||||||
|
# PCP knob
|
||||||
|
genfscon proc /sys/vm/percpu_pagelist_high_fraction u:object_r:proc_percpu_pagelist_high_fraction:s0
|
||||||
|
|
3
vendor/vendor_init.te
vendored
3
vendor/vendor_init.te
vendored
|
@ -3,3 +3,6 @@ set_prop(vendor_init, vendor_camera_debug_prop)
|
||||||
|
|
||||||
# gps vendor property
|
# gps vendor property
|
||||||
set_prop(vendor_init, vendor_gps_prop)
|
set_prop(vendor_init, vendor_gps_prop)
|
||||||
|
|
||||||
|
# PCP knob
|
||||||
|
allow vendor_init proc_percpu_pagelist_high_fraction:file w_file_perms;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue