Allow lmkd to renice process before killing
Bug: 118468011 Test: mem-pressure test Change-Id: Icf387a02243af60a3bfffba912711f037669fa7f
This commit is contained in:
parent
edbe51215e
commit
abeaa3bc92
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@ allow lmkd system_server:file write;
|
|||
r_dir_file(lmkd, sysfs_lowmemorykiller)
|
||||
allow lmkd sysfs_lowmemorykiller:file w_file_perms;
|
||||
|
||||
# Send kill signals
|
||||
allow lmkd appdomain:process sigkill;
|
||||
# setsched and send kill signals
|
||||
allow lmkd appdomain:process { setsched sigkill };
|
||||
|
||||
# Clean up old cgroups
|
||||
allow lmkd cgroup:dir { remove_name rmdir };
|
||||
|
|
Loading…
Reference in a new issue