sepolicy: Allow qti-testscripts to be killed by lmkd

lmkd kills tasks with oom_score_adj >= 0 when the system is under memory
pressure. Enhancements have been added to lmkd to support this behavior
for processes started from shell as well.

Change-Id: Ia28c3373d8b755f911337bb849262e5b654d5041
This commit is contained in:
Patrick Daly
2019-09-04 14:59:24 -07:00
committed by Gerrit - the friendly Code Review server
parent 91dc859023
commit 06518abbdc

View File

@@ -95,4 +95,6 @@ userdebug_or_eng(`
binder_call(platform_app, qti-testscripts)
binder_call(system_app, qti-testscripts)
# allow lmkd to kill tasks with positive oom_score_adj under memory pressure
allow lmkd qti-testscripts:process { setsched sigkill };
')