From 861c3475f91766cee0a4d7f56ac5dd73677de758 Mon Sep 17 00:00:00 2001 From: Jing Ji Date: Fri, 1 Nov 2019 17:37:06 -0700 Subject: [PATCH] Allow system_server to read system_lmk_prop System_server will read this property to determine if it should expect the lmkd sends notification to it on low memory kills. Bug: 136036078 Test: atest CtsAppExitTestCases:ActivityManagerAppExitInfoTest Change-Id: Iff90f7d28dc7417994f5906333d58fb18cb4a04c --- private/system_server.te | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/private/system_server.te b/private/system_server.te index 3e3d8eb4f..923284328 100644 --- a/private/system_server.te +++ b/private/system_server.te @@ -901,6 +901,10 @@ allow system_server functionfs:file rw_file_perms; # system_server contains time / time zone detection logic so reads the associated properties. get_prop(system_server, time_prop) +# system_server reads this property to know it should expect the lmkd sends notification to it +# on low memory kills. +get_prop(system_server, system_lmk_prop) + ### ### Neverallow rules ###