Skip to content
Snippets Groups Projects
Commit f7010ab1 authored by Suren Baghdasaryan's avatar Suren Baghdasaryan
Browse files

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: default avatarSuren Baghdasaryan <surenb@google.com>
(cherry picked from commit 76384b3e)
parent 6991a930
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment