diff options
author | Mark Salyzyn <salyzyn@google.com> | 2016-12-29 15:16:06 -0800 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2017-01-03 09:44:42 -0800 |
commit | ce80da301836cfa40c7a6424034f0743bbca9add (patch) | |
tree | 131bb0533c181d728fe6bc22c5f87995b71d08f7 /libcutils/sockets_unix.cpp | |
parent | 10a7b9bb8ba3eaf61bac9e36e14bdedf1c5ea891 (diff) |
logd: Add support for ro.logd.auditd.[main|events]
log selinux audit messages boolean (true or false, default true)
selection for logging destinations:
ro.logd.auditd - turn on logd.auditd to pick up violations.
ro.logd.auditd.dmesg - to the kernel log.
ro.logd.auditd.main - to the "main" log buffer.
ro.logd.auditd.events - to the "events" log buffer.
We used to also read logd.auditd.dmesg and persist.logd.auditd.dmesg
which do not get refreshed when /data mounts internally. This is a
confusing state as these properties will be read after a logd crash
and restart, adjusting the behavior of the logger. Same can be said
for logd.auditd as well. Drop reading these other parameters.
Test: manual set r/o parameters, stop/start logd to confirm behavior
Bug: 33969000
Bug: 27878170
Change-Id: I1a6bb4a903074c9aa7b227cf583a0094d49cbefd
Diffstat (limited to 'libcutils/sockets_unix.cpp')
0 files changed, 0 insertions, 0 deletions