| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I0f655ad15295739adb8f04ec62c88a220413875e
|
|
|
|
|
| |
Bug: 15384806
Change-Id: I3072d6dd0618fa9ebe151c78a85eb121327f9df3
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 13501501
Change-Id: Ia72e25fc19430ce63fb359cd9b3f0523d41f5aa8
|
| |
| |
| |
| | |
Change-Id: I759c65e869d0c7cd81063fa7993ba3d67ef9cd06
|
|/
|
|
|
|
|
|
| |
- Correct default tense for kernel or user logger
- harden code that parses the benchmark data
- give more meaning to the spam filter test
Change-Id: I97699037ca9d56718f53f08d22be79092fb431de
|
|
|
|
| |
Change-Id: I3520aa05e080de85df352ef36ae16e0406311f3c
|
|
|
|
|
|
|
|
|
|
|
| |
- auditd spawn log copy to events and main
- logcat delete events as one of the default logs
- debuggerd do not collect events.
- squish multiple spaces
- switch from strcpy to memmove for overlapping buffers
BUG: 14626551
Change-Id: I89b30273ce931ed2b25a53ea9be48e77f4c1bbf4
|
|
|
|
| |
Change-Id: I30c078f8b22ebe4dcb48d57adf88b3e51b4fa202
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- auditd switch to recording logs to events log id
- logcat add events as one of the default logs
- debuggerd collect events log as well.
ToDo: debuggerd & bugreport collect intermixed logs.
BUG: 14626551
Change-Id: I958f0e729b7596748be57488a38824db5645be7b
|
|/
|
|
|
|
|
|
|
|
|
|
| |
- AID_SYSTEM can set persist.logd.size
- AID_SYSTEM can issue command to /dev/socket/logd to
change the runtime global log sizes.
- Add support for ro.logd.size.* as populated by BoardConfig.mk
- Limit size to maximum ~3% of physical memory.
Bug: 14563261
Bug: 14627052
Change-Id: I606420db2e9d9d032296e71149e4a5b20cbd1137
|
|
|
|
|
|
|
|
|
| |
- logd Add persist.logd.size (global), persist.logd.size.<logid>
- logcat report a more flexible multiplier in -g command.
Bug: 14563261
Bug: 14469172
Change-Id: Ie389caa14ad3ae3d4a3a3cc463425bb9dbc5e483
|
|
|
|
|
| |
Bug: 14469172
Change-Id: I37c8dbcea0490afb994cbe6f033591fea1c58bc8
|
|
|
|
| |
Change-Id: Ic7920d1b0930155c20a896720a79af62f8acacc1
|
|
|
|
|
|
| |
- Deal with some -Wunused / -Wunused-variable issues
Change-Id: Ic86cd7b0680868ad0536198b71a34cb19134fc21
|
|
|
|
|
|
|
| |
- ULONG_MAX is used against an uint32
- Add tv_sec_max and tv_nsec_max constants to log_time
Change-Id: Ic86cd7b0680868ad0536198b71a34cb19134fc22
|
|
|
|
|
|
|
| |
- oneline, add check for gone
- Add pidGone() method, which caches the gone status
Change-Id: I8f03daeafb58583c2b08ec6b540486c05da0872d
|
|
|
|
|
|
|
|
| |
- permit us a mechanism to disable auditd
- standardize property boolean
Bug: 14275676
Change-Id: I76f245c6aee511ed44274159e0ea55915b484dda
|
|
|
|
|
|
|
| |
- permits easier determination of logd thread at
fault in a stack trace from debuggerd.
Bug: 14275676
Change-Id: Iac2c523147e2bcce34ab7ddcecd02582c5fa7cc0
|
|
|
|
| |
Change-Id: Ie9c7a744e341e6e64afa14973d4d095717c97933
|
|
|
|
|
|
|
|
| |
- Drop in-place sorting.
- Add fast-track for uid sizes and elements.
- Add sort() for per-uid and per-pid statistics.
Change-Id: Ib8655d4cc0b3bd4e87534522987bcc7fc7a5251a
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 14280914
Change-Id: Idddd29784625094e54144953c29f64692a88eee9
|
|/
|
|
| |
Change-Id: I89da10a73470b037f1811a9890d959cae186f257
|
|
|
|
|
|
|
|
|
|
|
| |
- if network read/write broken up, reassemble the pieces.
- Use a 20ms poll to check if a new fragment has been
sent by the other side.
- fixup logd-unit-tests to take a (simplified) fragment
from the liblog changes.
Bug: 14164765
Change-Id: I98ff87888c119e1e8349717646d0f733e8971bc8
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Iea453764a1a4fc1661f461f10c641c30150e4d20
|
|/
|
|
| |
Change-Id: I3426b6c3eebdd0c8258e966dcaaaa2825d7a23d1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Test statistics output, all four main log id types
are checked to be present, and output is properly
formatted with header (ascii new-line terminated
byte count) and trailer (newline formfeed) frames.
* On dev build test dgram_qlen, circumvent if
liblog benchmarks executed first though.
* Test if kernel and user space loggers are
present, and if any content has leaked to both.
* test benchmark and use it to verify worst UID pruning
Change-Id: I890c89f64825956f40108de806ed750b0170ac6c
|
|
|
|
|
|
|
|
|
| |
- embellish pid name
- >1% of the logs
- fix PID gone detection (EPERM)
- some ? : cleanup
Change-Id: Iba3b306e1fee43e53931165819a398693910514b
|
|\ |
|
| |
| |
| |
| |
| |
| | |
- Enable whitelist, blacklist and logsize tuneables for user
Change-Id: Id0c283844c71c5263a8cfbebf2e550f7ac415858
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Fixes a leak and use-after-free if a client passes in an
already-allocated target buffer (currently none do)
Change-Id: Ie20c30bd5ba31e1b6db73885bd9d2ebd7e40dc27
Signed-off-by: Greg Hackmann <ghackmann@google.com>
|
| |
| |
| |
| |
| |
| | |
- Algorithm places too much weight on stack dumps
Change-Id: Ibb31a59892870397b780965ec791f47a4ce87eaf
|
| |
| |
| |
| | |
Change-Id: If4a579c2221eec99cf3f6acf59ead8c2d5230517
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Initial commit for an audit daemon that writes kernel audit
messages to the Android logger. The daemon searches dmesg
for all lines that contain "audit" and writes them. Then
receiving the messages from the netlink socket.
It also formats the messages so they are compatable with
ausearch (type=<t> <m> format)
Modified: Mark Salyzyn <salyzyn@google.com>
- do not start auditd
- merge into logd, stripping unnecessary file logging.
- Convert headers and code to support C++
- Fix bugs in libaudit
- squash timestamp (replace with 0.0) due to duplication
- squash pid due to duplication
- squash comm due to duplication
Change-Id: I421bcf33e7e670d596628b1b5c7c25536ce2d3fe
|
| |
| |
| |
| | |
Change-Id: I23ebae1957c027bff6cbc2573a227bf0c44c08a2
|
| |
| |
| |
| | |
Change-Id: Idd8e804ab65feb8dc432150ae701464de1ad5302
|
|/
|
|
|
| |
Bug: 13692914
Change-Id: Ia7306e6e844ae9f17c6f594bf6b25f3148652570
|
|
|
|
|
|
| |
build breakage in branch: git_klp-dev-gpl @ 1101951
Change-Id: I4c9681bf4c97368ec19f5a79fef134aba937f337
|
|
|
|
|
|
|
|
|
|
| |
* Only enabled for dev builds because halves performance.
- Used to establish if /proc/sys/net/unix/max_dgram_qlen
is appropriate for the platform
(see logd/LogStatistics.cpp comments)
- enabled if logd.dgram_qlen.statistics is not zero/empty
Change-Id: Ib8ecfeb75b6f0f954c099a6b1032b8afb5efcbd4
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I7ddd010031299395cad96f1743d7a7e6a6866b4c
|
|/
|
|
|
|
|
|
| |
- logcat improperly squashes out count
- logcat test enhanced to catch failure
- logd places entries in ascending sorted order
Change-Id: If39d8e2c40852b520c98e7840034ab63c2538e5d
|
|
|
|
|
|
|
| |
- stuff caller's thread id into the packet.
Bug: 13568206
Change-Id: I02d0cdf9b1d9e839ff8969f591db42dfe6e4cc95
|
|
|
|
|
|
|
| |
- stack buffer undersized
Bug: 13514601
Change-Id: I3e5dda2daa7531ddcacece33dfdecaa28dcca765
|
|
|
|
|
|
|
| |
- prototype to evaluate the increase in complexity or
performance impact.
Change-Id: I4e815d74c023092fbb75055d260f75de57ad6522
|
|
|
|
| |
Change-Id: I10e8d92c933e31ee11e78d2d1114261a30c4be0e
|