Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
tests/ | 03-May-2024 | - | 589 | 433 | ||
Android.mk | D | 03-May-2024 | 1.4 KiB | 56 | 37 | |
CommandListener.cpp | D | 03-May-2024 | 8.2 KiB | 330 | 261 | |
CommandListener.h | D | 03-May-2024 | 2.3 KiB | 77 | 47 | |
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 | 7.2 KiB | 272 | 208 | |
LogAudit.h | D | 03-May-2024 | 1.1 KiB | 43 | 20 | |
LogBuffer.cpp | D | 03-May-2024 | 22.6 KiB | 759 | 543 | |
LogBuffer.h | D | 03-May-2024 | 3 KiB | 95 | 55 | |
LogBufferElement.cpp | D | 03-May-2024 | 6.3 KiB | 231 | 180 | |
LogBufferElement.h | D | 03-May-2024 | 3.3 KiB | 105 | 62 | |
LogCommand.cpp | D | 03-May-2024 | 3.8 KiB | 131 | 78 | |
LogCommand.h | D | 03-May-2024 | 927 | 32 | 11 | |
LogKlog.cpp | D | 03-May-2024 | 18.7 KiB | 648 | 484 | |
LogKlog.h | D | 03-May-2024 | 1.8 KiB | 59 | 28 | |
LogListener.cpp | D | 03-May-2024 | 3.5 KiB | 126 | 84 | |
LogListener.h | D | 03-May-2024 | 1,018 | 38 | 15 | |
LogReader.cpp | D | 03-May-2024 | 5.6 KiB | 196 | 151 | |
LogReader.h | D | 03-May-2024 | 1.1 KiB | 44 | 18 | |
LogStatistics.cpp | D | 03-May-2024 | 15.7 KiB | 533 | 411 | |
LogStatistics.h | D | 03-May-2024 | 9.3 KiB | 344 | 258 | |
LogTimes.cpp | D | 03-May-2024 | 6.1 KiB | 264 | 184 | |
LogTimes.h | D | 03-May-2024 | 3.4 KiB | 115 | 71 | |
LogWhiteBlackList.cpp | D | 03-May-2024 | 5.7 KiB | 236 | 179 | |
LogWhiteBlackList.h | D | 03-May-2024 | 1.8 KiB | 74 | 36 | |
README.auditd | D | 03-May-2024 | 549 | 18 | 13 | |
README.property | D | 03-May-2024 | 1.6 KiB | 28 | 25 | |
event.logtags | D | 03-May-2024 | 1.2 KiB | 38 | 36 | |
libaudit.c | D | 03-May-2024 | 7.6 KiB | 275 | 137 | |
libaudit.h | D | 03-May-2024 | 2.3 KiB | 98 | 30 | |
logpersist | D | 03-May-2024 | 898 | 37 | 34 | |
main.cpp | D | 03-May-2024 | 12.9 KiB | 474 | 312 |
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.klogd bool depends Enable klogd daemon 8logd.statistics bool depends Enable logcat -S statistics. 9ro.config.low_ram bool false if true, logd.statistics & logd.klogd 10 default false 11ro.build.type string if user, logd.statistics & logd.klogd 12 default false 13persist.logd.logpersistd string Enable logpersist daemon, "logcatd" 14 turns on logcat -f in logd context 15persist.logd.size number 256K default size of the buffer for all 16 log ids at initial startup, at runtime 17 use: logcat -b all -G <value> 18persist.logd.size.main number 256K Size of the buffer for the main log 19persist.logd.size.system number 256K Size of the buffer for the system log 20persist.logd.size.radio number 256K Size of the buffer for the radio log 21persist.logd.size.event number 256K Size of the buffer for the event log 22persist.logd.size.crash number 256K Size of the buffer for the crash log 23 24NB: 25- number support multipliers (K or M) for convenience. Range is limited 26 to between 64K and 256M for log buffer sizes. Individual logs override the 27 global default. 28