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 KiB | 243 | 182 | |
LogAudit.h | D | 03-May-2024 | 1.1 KiB | 42 | 19 | |
LogBuffer.cpp | D | 03-May-2024 | 14.5 KiB | 504 | 384 | |
LogBuffer.h | D | 03-May-2024 | 2.5 KiB | 87 | 47 | |
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 | 27.8 KiB | 927 | 762 | |
LogStatistics.h | D | 03-May-2024 | 5.5 KiB | 192 | 114 | |
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.5 KiB | 26 | 23 | |
event.logtags | D | 03-May-2024 | 1.2 KiB | 37 | 35 | |
libaudit.c | D | 03-May-2024 | 7.6 KiB | 277 | 138 | |
libaudit.h | D | 03-May-2024 | 2.5 KiB | 105 | 34 | |
main.cpp | D | 03-May-2024 | 5.7 KiB | 199 | 97 |
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.dgram_qlen bool false Record dgram_qlen statistics. This 8 represents a performance impact and 9 is used to determine the platform's 10 minimum domain socket network FIFO 11 size (see source for details) based 12 on typical load (logcat -S to view) 13persist.logd.size number 256K default size of the buffer for all 14 log ids at initial startup, at runtime 15 use: logcat -b all -G <value> 16persist.logd.size.main number 256K Size of the buffer for the main log 17persist.logd.size.system number 256K Size of the buffer for the system log 18persist.logd.size.radio number 256K Size of the buffer for the radio log 19persist.logd.size.event number 256K Size of the buffer for the event log 20persist.logd.size.crash number 256K Size of the buffer for the crash log 21 22NB: 23- number support multipliers (K or M) for convenience. Range is limited 24 to between 64K and 256M for log buffer sizes. Individual logs override the 25 global default. 26