logd: auditd: add logd.auditd.dmesg property
Change-Id: If4a579c2221eec99cf3f6acf59ead8c2d5230517
diff --git a/logd/LogAudit.h b/logd/LogAudit.h
index 3e57eed..111030a 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)));
};