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
This commit is contained in:
Jing Ji 2019-11-01 17:37:06 -07:00
parent 242dbece51
commit 861c3475f9

View file

@ -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. # system_server contains time / time zone detection logic so reads the associated properties.
get_prop(system_server, time_prop) 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 ### Neverallow rules
### ###