Skip to content
Snippets Groups Projects
Commit 30a3ee4c authored by Jeff Vander Stoep's avatar Jeff Vander Stoep
Browse files

lmkd: grant read access to all of /sys

avc: denied { search } for pid=394 comm="lmkd" name="lowmemorykiller" dev="sysfs" ino=7541 scontext=u:r:lmkd:s0 tcontext=u:object_r:sysfs_lowmemorykiller:s0 tclass=dir permissive=0

Bug: 29558514
Change-Id: Iaae907a92976af2a9dcb58be5643b8614dcde174
parent 15105ce7
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,7 @@ r_dir_file(lmkd, system_server) ...@@ -20,6 +20,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)
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