diff options
| author | Mark Salyzyn <salyzyn@google.com> | 2014-04-07 18:04:17 +0000 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2014-04-07 18:04:17 +0000 |
| commit | ce2a0ecf29fadbd63ea2397b2d87a02b27a2d20f (patch) | |
| tree | feb4ca25c7ffa9c1bb8e778e159df95e6a2676ac /logd/LogAudit.h | |
| parent | 219ed7079abb6ffb9545ca8457a644ca3d0af872 (diff) | |
| parent | ffd721502e00e787ea0f89d6d537de52d4fc4542 (diff) | |
| download | system_core-ce2a0ecf29fadbd63ea2397b2d87a02b27a2d20f.zip system_core-ce2a0ecf29fadbd63ea2397b2d87a02b27a2d20f.tar.gz system_core-ce2a0ecf29fadbd63ea2397b2d87a02b27a2d20f.tar.bz2 | |
am ffd72150: am 3e73a99f: Merge "logd: auditd: add logd.auditd.dmesg property"
* commit 'ffd721502e00e787ea0f89d6d537de52d4fc4542':
logd: auditd: add logd.auditd.dmesg property
Diffstat (limited to 'logd/LogAudit.h')
| -rw-r--r-- | logd/LogAudit.h | 5 |
1 files changed, 3 insertions, 2 deletions
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))); }; |
