summaryrefslogtreecommitdiffstats
path: root/logd/Android.mk
diff options
context:
space:
mode:
authorWilliam Roberts <w.roberts@sta.samsung.com>2013-02-08 09:45:26 +0900
committerMark Salyzyn <salyzyn@google.com>2014-04-07 10:51:00 -0700
commit29d238d2a8e12c131a4cfbccb912e525cca6b10d (patch)
treec9f82eb03ada784a8eeace08cb77aef0b5ac8a1a /logd/Android.mk
parent4ba0387af5acc52e43e4004ccb4c46b8bc700349 (diff)
downloadsystem_core-29d238d2a8e12c131a4cfbccb912e525cca6b10d.tar.gz
system_core-29d238d2a8e12c131a4cfbccb912e525cca6b10d.tar.bz2
system_core-29d238d2a8e12c131a4cfbccb912e525cca6b10d.zip
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
Diffstat (limited to 'logd/Android.mk')
-rw-r--r--logd/Android.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/logd/Android.mk b/logd/Android.mk
index b0bc746c9..61895c4a9 100644
--- a/logd/Android.mk
+++ b/logd/Android.mk
@@ -19,7 +19,9 @@ LOCAL_SRC_FILES := \
LogBufferElement.cpp \
LogTimes.cpp \
LogStatistics.cpp \
- LogWhiteBlackList.cpp
+ LogWhiteBlackList.cpp \
+ libaudit.c \
+ LogAudit.cpp
LOCAL_SHARED_LIBRARIES := \
libsysutils \