diff options
author | Mark Salyzyn <salyzyn@google.com> | 2015-12-04 10:59:45 -0800 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2015-12-08 16:46:29 -0800 |
commit | 083b037c0740ca00f72429e4457bfdd4b4d4dfa7 (patch) | |
tree | 6748f9f8bcaebd495df77604dfeba68e0b65b5be /logd/LogStatistics.h | |
parent | cb3e6ef15459388fc8fee2b4a3157ff0eac0714a (diff) | |
download | system_core-083b037c0740ca00f72429e4457bfdd4b4d4dfa7.tar.gz system_core-083b037c0740ca00f72429e4457bfdd4b4d4dfa7.tar.bz2 system_core-083b037c0740ca00f72429e4457bfdd4b4d4dfa7.zip |
logd: liblog: logcat: Add LOG_ID_SECURITY
- Largish commit, buffer and access controls done together
- Add LOG_ID_SECURITY binary content log
- Add "default" meta buffer
- allow LOG_ID_SECURITY only from AID_SYSTEM and AID_ROOT UID & GID
- Use __android_log_security() to gate logging
- Add __android_log_security_bwrite() native access to security
logging.
- Add liblog.__security_buffer end-to-end gTest
Bug: 26029733
Change-Id: Ibcf5b4660c17c1aa6902c0d93f8ffd29c93d9a93
Diffstat (limited to 'logd/LogStatistics.h')
-rw-r--r-- | logd/LogStatistics.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/logd/LogStatistics.h b/logd/LogStatistics.h index 28810d9d5..8558b0671 100644 --- a/logd/LogStatistics.h +++ b/logd/LogStatistics.h @@ -397,6 +397,9 @@ class LogStatistics { typedef LogHashtable<uint32_t, TagEntry> tagTable_t; tagTable_t tagTable; + // security tag list + tagTable_t securityTagTable; + public: LogStatistics(); |