diff options
| author | Kees Cook <keescook@chromium.org> | 2018-10-26 01:17:07 -0700 |
|---|---|---|
| committer | Kees Cook <keescook@chromium.org> | 2018-12-03 16:52:35 -0800 |
| commit | bdabc8e71c8582cd61314f004b9a0283269585bb (patch) | |
| tree | 37a81c0fcf48abf0702a333cc83e8d88833a8a17 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | Merge branch 'for-linus/pstore' into for-next/pstore (diff) | |
| download | linux-bdabc8e71c8582cd61314f004b9a0283269585bb.tar.gz linux-bdabc8e71c8582cd61314f004b9a0283269585bb.zip | |
pstore: Do not use crash buffer for decompression
The pre-allocated compression buffer used for crash dumping was also
being used for decompression. This isn't technically safe, since it's
possible the kernel may attempt a crashdump while pstore is populating the
pstore filesystem (and performing decompression). Instead, just allocate
a separate buffer for decompression. Correctness is preferred over
performance here.
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
