diff options
author | Mark Salyzyn <salyzyn@google.com> | 2018-03-27 08:08:48 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2018-04-03 14:41:11 +0000 |
commit | ce32539cf34bc18dc6621f869ef3312bc50cdcc2 (patch) | |
tree | 1dc002bb772c7d17345b0f354b6d8a3f6a112a23 /libutils/Unicode.cpp | |
parent | b9b967e2fc141ebd5686414425fb2e1ae53a7cb4 (diff) |
lmkd: test: access /sys/module/lowmemorykiller/ as u:r:shell:s0
lmkd_unit_test gets an selinux violation when run unprivileged:
lmkd_unit_test: type=1400 audit(0.0:???): avc: denied { search } for
name="lowmemorykiller" dev="sysfs" ino=??? scontext=u:r:shell:s0
tcontext=u:object_r:sysfs_lowmemorykiller:s0 tclass=dir
permissive=0
resulting in log noise. Check for INKERNEL_MINFREE_PATH existence
after known to be escalated as root user to suppress noise.
Test: lmkd_unit_test as unprivileged user, there should be no audits.
Change-Id: Ia5c7824e7070c98ee6eea20ca53097e4e56d61b6
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions