Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
tests/ | 03-May-2024 | - | 756 | 562 | ||
Android.mk | D | 03-May-2024 | 690 | 34 | 26 | |
CommandListener.cpp | D | 03-May-2024 | 7.8 KiB | 311 | 247 | |
CommandListener.h | D | 03-May-2024 | 2 KiB | 66 | 40 | |
FlushCommand.cpp | D | 03-May-2024 | 2.7 KiB | 88 | 52 | |
FlushCommand.h | D | 03-May-2024 | 1.3 KiB | 49 | 25 | |
LogAudit.cpp | D | 03-May-2024 | 6.7 KiB | 257 | 195 | |
LogAudit.h | D | 03-May-2024 | 1.1 KiB | 42 | 19 | |
LogBuffer.cpp | D | 03-May-2024 | 14.4 KiB | 499 | 379 | |
LogBuffer.h | D | 03-May-2024 | 2.6 KiB | 90 | 50 | |
LogBufferElement.cpp | D | 03-May-2024 | 2 KiB | 69 | 44 | |
LogBufferElement.h | D | 03-May-2024 | 1.7 KiB | 54 | 31 | |
LogCommand.cpp | D | 03-May-2024 | 3.8 KiB | 131 | 78 | |
LogCommand.h | D | 03-May-2024 | 927 | 32 | 11 | |
LogListener.cpp | D | 03-May-2024 | 3.5 KiB | 128 | 82 | |
LogListener.h | D | 03-May-2024 | 1,018 | 38 | 15 | |
LogReader.cpp | D | 03-May-2024 | 5.5 KiB | 192 | 147 | |
LogReader.h | D | 03-May-2024 | 1.1 KiB | 44 | 18 | |
LogStatistics.cpp | D | 03-May-2024 | 28.3 KiB | 946 | 777 | |
LogStatistics.h | D | 03-May-2024 | 5.8 KiB | 200 | 121 | |
LogTimes.cpp | D | 03-May-2024 | 5.5 KiB | 236 | 161 | |
LogTimes.h | D | 03-May-2024 | 3.3 KiB | 111 | 68 | |
LogWhiteBlackList.cpp | D | 03-May-2024 | 5.7 KiB | 240 | 182 | |
LogWhiteBlackList.h | D | 03-May-2024 | 1.8 KiB | 72 | 34 | |
README.auditd | D | 03-May-2024 | 549 | 18 | 13 | |
README.property | D | 03-May-2024 | 1.7 KiB | 29 | 26 | |
event.logtags | D | 03-May-2024 | 1.2 KiB | 37 | 35 | |
libaudit.c | D | 03-May-2024 | 7.6 KiB | 275 | 137 | |
libaudit.h | D | 03-May-2024 | 2.3 KiB | 98 | 30 | |
main.cpp | D | 03-May-2024 | 6 KiB | 208 | 106 |
README.auditd
1Auditd Daemon 2 3The audit daemon is a simplified version of its desktop 4counterpart designed to gather the audit logs from the 5audit kernel subsystem. The audit subsystem of the kernel 6includes Linux Security Modules (LSM) messages as well. 7 8To enable the audit subsystem, you must add this to your 9kernel config: 10CONFIG_AUDIT=y 11 12To enable a LSM, you must consult that LSM's documentation, the 13example below is for SELinux: 14CONFIG_SECURITY_SELINUX=y 15 16This does not include possible dependencies that may need to be 17satisfied for that particular LSM. 18
README.property
1The properties that logd responds to are: 2 3name type default description 4logd.auditd bool true Enable selinux audit daemon 5logd.auditd.dmesg bool true selinux audit messages duplicated and 6 sent on to dmesg log 7logd.statistics bool depends Enable logcat -S statistics. 8ro.config.low_ram bool false if true, logd.statistics default false 9ro.build.type string if user, logd.statistics default false 10logd.statistics.dgram_qlen bool false Record dgram_qlen statistics. This 11 represents a performance impact and 12 is used to determine the platform's 13 minimum domain socket network FIFO 14 size (see source for details) based 15 on typical load (logcat -S to view) 16persist.logd.size number 256K default size of the buffer for all 17 log ids at initial startup, at runtime 18 use: logcat -b all -G <value> 19persist.logd.size.main number 256K Size of the buffer for the main log 20persist.logd.size.system number 256K Size of the buffer for the system log 21persist.logd.size.radio number 256K Size of the buffer for the radio log 22persist.logd.size.event number 256K Size of the buffer for the event log 23persist.logd.size.crash number 256K Size of the buffer for the crash log 24 25NB: 26- number support multipliers (K or M) for convenience. Range is limited 27 to between 64K and 256M for log buffer sizes. Individual logs override the 28 global default. 29