Selinux: Give lmkd read access to /proc/meminfo
Allow lmkd read access to /proc/meminfo for retrieving information
on memory state.
Bug: 75322373
Change-Id: I7cf685813a5a49893c8f9a6ac4b5f6619f3c18aa
Merged-In: I7cf685813a5a49893c8f9a6ac4b5f6619f3c18aa
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
(cherry picked from commit 76384b3ee0
)
This commit is contained in:
parent
6991a930e1
commit
f7010ab109
1 changed files with 3 additions and 0 deletions
|
@ -43,6 +43,9 @@ allow lmkd domain:file { open read };
|
|||
# reboot because orderly shutdown may not be possible.
|
||||
allow lmkd proc_sysrq:file rw_file_perms;
|
||||
|
||||
# Read /proc/meminfo
|
||||
allow lmkd proc_meminfo:file r_file_perms;
|
||||
|
||||
### neverallow rules
|
||||
|
||||
# never honor LD_PRELOAD
|
||||
|
|
Loading…
Reference in a new issue