platform_system_core/logd
Mark Salyzyn d3ba665020 logd: Add logd_test
* Test statistics output, all four main log id types
  are checked to be present, and output is properly
  formatted with header (ascii new-line terminated
  byte count) and trailer (newline formfeed) frames.
* On dev build test dgram_qlen, circumvent if
  liblog benchmarks executed first though.
* Test if kernel and user space loggers are
  present, and if any content has leaked to both.
* test benchmark and use it to verify worst UID pruning

Change-Id: I890c89f64825956f40108de806ed750b0170ac6c
2014-04-15 10:21:57 -07:00
..
tests logd: Add logd_test 2014-04-15 10:21:57 -07:00
Android.mk logd: Add logd_test 2014-04-15 10:21:57 -07:00
CommandListener.cpp logd: liblog: logcat: enable prune features for user 2014-04-02 13:12:04 -07:00
CommandListener.h logd: liblog: logcat: enable prune features for user 2014-04-02 13:12:04 -07:00
FlushCommand.cpp logd: liblog: logcat: Arbitrary time to tail 2014-03-14 10:23:51 -07:00
FlushCommand.h logd: liblog: logcat: Arbitrary time to tail 2014-03-14 10:23:51 -07:00
libaudit.c logd: selinux auditd initial commit 2014-04-07 10:51:00 -07:00
libaudit.h logd: selinux auditd initial commit 2014-04-07 10:51:00 -07:00
LogAudit.cpp logd: auditd: add logd.auditd.dmesg property 2014-04-07 10:51:00 -07:00
LogAudit.h logd: auditd: add logd.auditd.dmesg property 2014-04-07 10:51:00 -07:00
LogBuffer.cpp logd: liblog: logcat: enable prune features for user 2014-04-02 13:12:04 -07:00
LogBuffer.h Merge "logd: liblog: logcat: enable prune features for user" 2014-04-09 23:33:28 +00:00
LogBufferElement.cpp logd: liblog: Thread IDs missing from logcat -v thread 2014-03-21 10:37:44 -07:00
LogBufferElement.h logd: liblog: Thread IDs missing from logcat -v thread 2014-03-21 10:37:44 -07:00
LogCommand.cpp logd: institute getGroups for socket credentials 2014-02-28 13:48:33 -08:00
LogCommand.h logd: institute getGroups for socket credentials 2014-02-28 13:48:33 -08:00
LogListener.cpp Merge "logd: compile warning message" 2014-03-24 21:56:34 +00:00
LogListener.h logd: initial checkin. 2014-02-26 09:52:35 -08:00
LogReader.cpp logd: Find log time for arbitrary time to tail 2014-03-14 10:24:19 -07:00
LogReader.h logd: initial checkin. 2014-02-26 09:52:35 -08:00
LogStatistics.cpp logd: Statistics: Add up to 10 chattiest clients 2014-04-10 08:59:53 -07:00
LogStatistics.h logd: Add pidToUid helper 2014-04-07 10:51:00 -07:00
LogTimes.cpp logd: transitory reader thread create should be detached 2014-04-04 13:12:56 -07:00
LogTimes.h logd: liblog: logcat: Arbitrary time to tail 2014-03-14 10:23:51 -07:00
LogWhiteBlackList.cpp Merge "logd: liblog: logcat: enable prune features for user" 2014-04-09 23:33:28 +00:00
LogWhiteBlackList.h logd: liblog: logcat: Add LogWhiteBlackList 2014-03-13 14:48:07 -07:00
main.cpp logd: auditd: add logd.auditd.dmesg property 2014-04-07 10:51:00 -07:00
README.auditd logd: selinux auditd initial commit 2014-04-07 10:51:00 -07:00

Auditd Daemon

The audit daemon is a simplified version of its desktop
counterpart designed to gather the audit logs from the
audit kernel subsystem. The audit subsystem of the kernel
includes Linux Security Modules (LSM) messages as well.

To enable the audit subsystem, you must add this to your
kernel config:
CONFIG_AUDIT=y

To enable a LSM, you must consult that LSM's documentation, the
example below is for SELinux:
CONFIG_SECURITY_SELINUX=y

This does not include possible dependencies that may need to be
satisfied for that particular LSM.