History log of /system/core/logd/libaudit.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c234a1b879d9c9d8e1a797c5dcf3098249945748 19-Nov-2014 Nick Kralevich <nnk@google.com> logd: throttle SELinux denials to 20/sec

Impose a limit of 20 selinux denials per second. Denials beyond
that point don't add any value, and have the potential to cause
crashes or denial of service attacks.

Do some other misc cleanup while I'm here.

Bug: 18341932
Change-Id: I6125d629ae4d6ae131d2e53bfa41e1f50277d402
/system/core/logd/libaudit.h
29d238d2a8e12c131a4cfbccb912e525cca6b10d 08-Feb-2013 William Roberts <w.roberts@sta.samsung.com> logd: selinux auditd initial commit

Initial commit for an audit daemon that writes kernel audit
messages to the Android logger. The daemon searches dmesg
for all lines that contain "audit" and writes them. Then
receiving the messages from the netlink socket.

It also formats the messages so they are compatable with
ausearch (type=<t> <m> format)

Modified: Mark Salyzyn <salyzyn@google.com>

- do not start auditd
- merge into logd, stripping unnecessary file logging.
- Convert headers and code to support C++
- Fix bugs in libaudit
- squash timestamp (replace with 0.0) due to duplication
- squash pid due to duplication
- squash comm due to duplication

Change-Id: I421bcf33e7e670d596628b1b5c7c25536ce2d3fe
/system/core/logd/libaudit.h