summaryrefslogtreecommitdiffstats
path: root/logd/LogAudit.h
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-04-03 09:55:26 -0700
committerMark Salyzyn <salyzyn@google.com>2014-04-07 10:51:00 -0700
commite9bebd0eb1845f0c6009ce2edc5aeb47bf89e397 (patch)
treed59da52bf2bf374e3a7dce6933227f6c55fa239e /logd/LogAudit.h
parent29d238d2a8e12c131a4cfbccb912e525cca6b10d (diff)
downloadcore-e9bebd0eb1845f0c6009ce2edc5aeb47bf89e397.tar.gz
core-e9bebd0eb1845f0c6009ce2edc5aeb47bf89e397.tar.bz2
core-e9bebd0eb1845f0c6009ce2edc5aeb47bf89e397.zip
logd: auditd: add logd.auditd.dmesg property
Change-Id: If4a579c2221eec99cf3f6acf59ead8c2d5230517
Diffstat (limited to 'logd/LogAudit.h')
-rw-r--r--logd/LogAudit.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/logd/LogAudit.h b/logd/LogAudit.h
index 3e57eedc9..111030a89 100644
--- a/logd/LogAudit.h
+++ b/logd/LogAudit.h
@@ -23,16 +23,17 @@
class LogAudit : public SocketListener {
LogBuffer *logbuf;
LogReader *reader;
+ int fdDmesg;
public:
- LogAudit(LogBuffer *buf, LogReader *reader);
+ LogAudit(LogBuffer *buf, LogReader *reader, int fdDmesg);
protected:
virtual bool onDataAvailable(SocketClient *cli);
private:
static int getLogSocket();
- void logDmsg();
+ void logDmesg();
int logPrint(const char *fmt, ...)
__attribute__ ((__format__ (__printf__, 2, 3)));
};