summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack.cpp
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2017-01-03 10:35:34 -0800
committerNick Kralevich <nnk@google.com>2017-01-03 12:39:28 -0800
commit2e588677716f3e7f84c6274aeeb943efd6b96770 (patch)
tree3d8874c2fb0917eaa2774dbe8a3d36f381ea2f37 /libutils/ProcessCallStack.cpp
parent10a7b9bb8ba3eaf61bac9e36e14bdedf1c5ea891 (diff)
LogAudit.cpp: replace newlines with spaces in audit messages
Some kernels have a bug which causes a newline to show up in audit messages. The embedded newlines cause one message to look like two due to prefix controls. Replace any newlines with spaces. Duplicate spaces are further consolidated in code immediately after this newly added code. Test: create an audit message with a newline, and watch it be cleaned up. Bug: 27878170 Change-Id: Id90c29ab9e10d3be96f51403b0293622d782422a
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions