diff options
| author | Mark Salyzyn <salyzyn@google.com> | 2016-07-15 15:45:58 -0700 |
|---|---|---|
| committer | Mark Salyzyn <salyzyn@google.com> | 2016-07-18 12:30:04 -0700 |
| commit | a68646faa2d0aebf531ac4ee212dd549ed2e232f (patch) | |
| tree | a4ac6f5cdd0941b3a2bc53f405d98a7da065d77b /libutils/Unicode.cpp | |
| parent | 3bd9c26c2f8009ac0ecbcc3cb2e80b0325381851 (diff) | |
logd: auditd: suppress multiple identical avc: messages to kmsg
Sends first and last of a series of 3 or more indentical avc:
messages to kmsg and adds 'duplicate messages suppressed'
for the last one in the set. eg:
[67.141658] type=1400 audit(1468852100.171:70): avc: ... tcontext=u:object_r:proc:s0 tclass=file
[67.141678] type=1400 audit(1468852107.494:71): avc: ... tcontext=u:object_r:cache_file:s0 tclass=dir
[67.535202] type=1400 audit(1468852107.498:74): avc: ... tcontext=u:object_r:cache_file:s0 tclass=dir duplicate messages suppressed
[67.535227] type=1400 audit(1468852107.888:75): avc: ... tcontext=u:object_r:proc_net:s0 tclass=file
One can look at the sequence numbers in the above example to see that
four identical message were produced, two were dropped.
ToDo: Evaluate multiple streams of duplicate messages.
Bug: 30118730
Change-Id: I31dcda7c8c42edfc7a8f1bf4d9e46284c74b3d18
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions
