317bfb923c12af688d18fc9a3580dff201b2482b |
|
23-Feb-2016 |
Mark Salyzyn <salyzyn@google.com> |
logd: Allow (some) headers to be individually importable (cherry pick from commit 2ad0bd0a9b594bbe2560b405b0008b7bc742cfca) LogReader.h needs to be individually importable. Fix a few others, drop includes of local includes, let them be included in source instead and allow headers to be included alphabetically. Was not a complete audit since goal was to separate LogReader.h out from the pack. Bug: 27242723 Change-Id: Ic7759ef90995e5bd285810706af33550c73cf5b5
/system/core/logd/LogListener.cpp
|
674ce6ef58527f5e48299da889d031daac1e770e |
|
26-Jan-2016 |
Mark Salyzyn <salyzyn@google.com> |
Revert "logd: security buffer only AID_SYSTEM reader" This reverts commit 756332e88b98018d82f225c54734be3d76102bfc. Change-Id: Ib8607ac758b7e88a9db716ec4274ec0e4e3dc596
/system/core/logd/LogListener.cpp
|
756332e88b98018d82f225c54734be3d76102bfc |
|
25-Jan-2016 |
Mark Salyzyn <salyzyn@google.com> |
logd: security buffer only AID_SYSTEM reader Bug: 26029733 Change-Id: I140e5eb8bb39271fa674744651127e3fc545cbe8
/system/core/logd/LogListener.cpp
|
4690640760983dffa9b28e257aac293da4282e85 |
|
12-Jan-2016 |
Mark Salyzyn <salyzyn@google.com> |
logd: unaligned access on security buffer Bug: 26485626 Change-Id: I990447ca59982bb2de15decda575fd0e2838b5ed
/system/core/logd/LogListener.cpp
|
1d9c7e728f826d82beff652478275c92c1e55f50 |
|
15-Dec-2015 |
Mark Salyzyn <salyzyn@google.com> |
logd: simpleperf inspired optimizations memset is hot on log writes with too much overhead, not required. Bug: 24444530 Bug: 23685592 Change-Id: Ibe3c83abca6774fc79a3be461f2f1585f4a9b1ff
/system/core/logd/LogListener.cpp
|
083b037c0740ca00f72429e4457bfdd4b4d4dfa7 |
|
04-Dec-2015 |
Mark Salyzyn <salyzyn@google.com> |
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
/system/core/logd/LogListener.cpp
|
7718778793b106498b931dd708a466cf3a6f6a0f |
|
13-May-2015 |
Mark Salyzyn <salyzyn@google.com> |
logd: Cleanup - Android Coding Standard for Constructors - Side effects NONE Change-Id: I2cda9dd73f3ac3ab58f394015cb810820093d47b
/system/core/logd/LogListener.cpp
|
ae4d928d816e30dbe57c2c321b0f0759d0567b3f |
|
15-Oct-2014 |
Mark Salyzyn <salyzyn@google.com> |
logd: Add klogd - Add a klogd to collect the kernel logs and place them into a new kernel log buffer - Parse priority, tag and message from the kernel log messages. - Turn off pruning for worst UID for the kernel log buffer - Sniff for 'PM: suspend exit', 'PM: suspend enter' and 'Suspended for' messages and correct the internal definition time correction against monotonic dynamically. - Discern if we have monotonic or real time (delineation 1980) in audit messages. - perform appropriate math to correct the timestamp to be real time - filter out any external sources of kernel logging Change-Id: I8d4c7c5ac19f1f3218079ee3a05a50e2ca55f60d
/system/core/logd/LogListener.cpp
|
202e153f94a0957185ae4b4bed4c5356513e4322 |
|
09-Feb-2015 |
Mark Salyzyn <salyzyn@google.com> |
logd: propagate ::log status Add a return value for the ::log() methods, this allows us to optimize the wakeup for the readers to only occur when the log message is actually placed. This is for a future where we may dedupe identical log messages, filter out log messages, and certainly if we filter the messages out with an internal logd check of __android_log_is_loggable(). Change-Id: I763b2a7c29502ab7fa0a5d5022c7b60244fcfde4
/system/core/logd/LogListener.cpp
|
e3aeeeeccc260c29ca5907a444f8d746bcc2f8a5 |
|
17-Mar-2015 |
Mark Salyzyn <salyzyn@google.com> |
logd: syscall optimization - prset(PR_SET_NAME) call once - No need to call getuid(), should be AID_LOGD Change-Id: I4dde0b178bc84e711b355cd7677b0dbf905a0634
/system/core/logd/LogListener.cpp
|
b5f6e45d6bddd2f6262bf387c3314dc744896320 |
|
16-Jan-2015 |
Mark Salyzyn <salyzyn@google.com> |
logd: create private/android_logger.h - create a structure to depict the private header expected at logd end of socket. - utilize this new structure instead of unscalable byte stream technique used to unpack in logd. Change-Id: I2d0e5c3531c279f2dc1fbd74807210ff8d804de0
/system/core/logd/LogListener.cpp
|
6e2c0f7010ed7b2f8504f86e662211dea608f8f9 |
|
03-May-2014 |
Mark Salyzyn <salyzyn@google.com> |
logd: build breakage in git_master-nova @ 1151709 Change-Id: Ic7920d1b0930155c20a896720a79af62f8acacc1
/system/core/logd/LogListener.cpp
|
e0fa291e898b451dc198ed52cebac3ffefac066e |
|
29-Apr-2014 |
Mark Salyzyn <salyzyn@google.com> |
logd: add logd.auditd property - permit us a mechanism to disable auditd - standardize property boolean Bug: 14275676 Change-Id: I76f245c6aee511ed44274159e0ea55915b484dda
/system/core/logd/LogListener.cpp
|
8daa9af02dc0e63ce220e3fa95bf5fe4d6b7a99a |
|
28-Apr-2014 |
Mark Salyzyn <salyzyn@google.com> |
logd: add thread setname - permits easier determination of logd thread at fault in a stack trace from debuggerd. Bug: 14275676 Change-Id: Iac2c523147e2bcce34ab7ddcecd02582c5fa7cc0
/system/core/logd/LogListener.cpp
|
8444eb81b37991ce0fc4ae1d8d79b01688a02426 |
|
24-Apr-2014 |
Mark Salyzyn <salyzyn@google.com> |
logd: liblog: ALOG silently drops excessively long messages Bug: 14280914 Change-Id: Idddd29784625094e54144953c29f64692a88eee9
/system/core/logd/LogListener.cpp
|
dfc47e86858ea67c72f1df2fdb97094b8e8248f2 |
|
24-Mar-2014 |
Mark Salyzyn <salyzyn@google.com> |
logd: libsysutils: logd startup outside init environment Change-Id: I3426b6c3eebdd0c8258e966dcaaaa2825d7a23d1
/system/core/logd/LogListener.cpp
|
c66607a8aa50da898d85a6c94b0bf8b5f172893e |
|
24-Mar-2014 |
Mark Salyzyn <salyzyn@google.com> |
Merge "logd: compile warning message"
|
dbb708a0a14733736e0f5f2274fd6b00d753985d |
|
21-Mar-2014 |
Mark Salyzyn <salyzyn@google.com> |
logd: compile warning message Change-Id: I7ddd010031299395cad96f1743d7a7e6a6866b4c
/system/core/logd/LogListener.cpp
|
22e287df0dfbc6e10c02f570d2fc0c42a2a6b7aa |
|
21-Mar-2014 |
Mark Salyzyn <salyzyn@google.com> |
logcat: white and blacklist failure - logcat improperly squashes out count - logcat test enhanced to catch failure - logd places entries in ascending sorted order Change-Id: If39d8e2c40852b520c98e7840034ab63c2538e5d
/system/core/logd/LogListener.cpp
|
b992d0d7d34bed62fd16151a68d60d58cc8003ef |
|
21-Mar-2014 |
Mark Salyzyn <salyzyn@google.com> |
logd: liblog: Thread IDs missing from logcat -v thread - stuff caller's thread id into the packet. Bug: 13568206 Change-Id: I02d0cdf9b1d9e839ff8969f591db42dfe6e4cc95
/system/core/logd/LogListener.cpp
|
b059cf53c9185702e99345b7319bcb075ffc5bee |
|
18-Mar-2014 |
Mark Salyzyn <salyzyn@google.com> |
logd: Logging is truncated - stack buffer undersized Bug: 13514601 Change-Id: I3e5dda2daa7531ddcacece33dfdecaa28dcca765
/system/core/logd/LogListener.cpp
|
0175b0747a1f55329109e84c9a1322dcb95e2848 |
|
26-Feb-2014 |
Mark Salyzyn <salyzyn@google.com> |
logd: initial checkin. * Create a new userspace log daemon for handling logging messages. Original-Change-Id: I75267df16359684490121e6c31cca48614d79856 Signed-off-by: Nick Kralevich <nnk@google.com> * Merge conflicts * rename new syslog daemon to logd to prevent confusion with bionic syslog * replace racy getGroups call with KISS call to client->getGid() * Timestamps are filed at logging source * insert entries into list in timestamp order * Added LogTimeEntry tail filtration handling * Added region locking around LogWriter list * separate threads for each writer * /dev/socket/logd* permissions Signed-off-by: Mark Salyzyn <salyzyn@google.com> (cherry picked from commit 3e76e0a49760c4970b7cda6153e51026af98e4f3) Author: Nick Kralevich <nnk@google.com> Change-Id: Ice88b1412d8f9daa7f9119b2b5aaf684a5e28098
/system/core/logd/LogListener.cpp
|