Skip to content
Snippets Groups Projects
Commit a0748a75 authored by Tri Vo's avatar Tri Vo
Browse files

Restrict lmkd read access from sysfs_type to sysfs_lowmemorykiller.

Bug: 65643247
Test: device boots without denials from lmkd
Change-Id: I6db8b52a4fb3edefbcbc87d6ca5f1b76162e9dce
parent 9ee232a8
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ r_dir_file(lmkd, system_server) ...@@ -18,7 +18,7 @@ r_dir_file(lmkd, system_server)
allow lmkd system_server:file write; allow lmkd system_server:file write;
## Writes to /sys/module/lowmemorykiller/parameters/minfree ## Writes to /sys/module/lowmemorykiller/parameters/minfree
r_dir_file(lmkd, sysfs_type) r_dir_file(lmkd, sysfs_lowmemorykiller)
allow lmkd sysfs_lowmemorykiller:file w_file_perms; allow lmkd sysfs_lowmemorykiller:file w_file_perms;
# Send kill signals # Send kill signals
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment