• Home
Name
Date
Size
#Lines
LOC

..--

tests/03-May-2024-589433

Android.mkD03-May-20241.4 KiB5637

CommandListener.cppD03-May-20248.2 KiB330261

CommandListener.hD03-May-20242.3 KiB7747

FlushCommand.cppD03-May-20242.7 KiB8852

FlushCommand.hD03-May-20241.3 KiB4925

LogAudit.cppD03-May-20247.2 KiB272208

LogAudit.hD03-May-20241.1 KiB4320

LogBuffer.cppD03-May-202422.6 KiB759543

LogBuffer.hD03-May-20243 KiB9555

LogBufferElement.cppD03-May-20246.3 KiB231180

LogBufferElement.hD03-May-20243.3 KiB10562

LogCommand.cppD03-May-20243.8 KiB13178

LogCommand.hD03-May-2024927 3211

LogKlog.cppD03-May-202418.7 KiB648484

LogKlog.hD03-May-20241.8 KiB5928

LogListener.cppD03-May-20243.5 KiB12684

LogListener.hD03-May-20241,018 3815

LogReader.cppD03-May-20245.6 KiB196151

LogReader.hD03-May-20241.1 KiB4418

LogStatistics.cppD03-May-202415.7 KiB533411

LogStatistics.hD03-May-20249.3 KiB344258

LogTimes.cppD03-May-20246.1 KiB264184

LogTimes.hD03-May-20243.4 KiB11571

LogWhiteBlackList.cppD03-May-20245.7 KiB236179

LogWhiteBlackList.hD03-May-20241.8 KiB7436

README.auditdD03-May-2024549 1813

README.propertyD03-May-20241.6 KiB2825

event.logtagsD03-May-20241.2 KiB3836

libaudit.cD03-May-20247.6 KiB275137

libaudit.hD03-May-20242.3 KiB9830

logpersistD03-May-2024898 3734

main.cppD03-May-202412.9 KiB474312

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