commit | f0dd63dbe024f1f7b268fd3db8748895953ddec4 | [log] [tgz] |
---|---|---|
author | Wei Wang <wvw@google.com> | Wed Jan 16 03:06:21 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Jan 16 03:06:21 2019 +0000 |
tree | ceec6a150c384ecc15c43a2d75cd4c3aab1908d7 | |
parent | a2e024f89097fa2c1312e363691e17e0440cd60b [diff] | |
parent | abeaa3bc92b0bf123c3c95fdd72a317d00c19e8e [diff] |
Merge "Allow lmkd to renice process before killing"
diff --git a/public/lmkd.te b/public/lmkd.te index 0fc5d0f..cd23701 100644 --- a/public/lmkd.te +++ b/public/lmkd.te
@@ -21,8 +21,8 @@ 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 };