[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230704135211.2471371-1-ardb@kernel.org>
Date: Tue, 4 Jul 2023 15:52:09 +0200
From: Ard Biesheuvel <ardb@...nel.org>
To: linux-hardening@...r.kernel.org
Cc: Ard Biesheuvel <ardb@...nel.org>,
Kees Cook <keescook@...omium.org>,
"Guilherme G. Piccoli" <gpiccoli@...lia.com>
Subject: [PATCH 0/2] pstore: Replace crypto API compression with zlib calls
The pstore layer implements support for compression of kernel log
output, using a variety of compressions algorithms provided by the
[deprecated] crypto API 'comp' interface.
This appears to have been somebody's pet project rather than a solution
to a real problem: the original deflate compression is reasonably fast,
compressed well and is comparatively small in terms of code footprint,
and so the flexibility that the crypto API integration provides does
little more than complicate the code for no reason.
So let's get rid of this complexity, and switch back to zlib deflate
using the library interface.
Cc: Kees Cook <keescook@...omium.org>
Cc: "Guilherme G. Piccoli" <gpiccoli@...lia.com>
Ard Biesheuvel (1):
pstore: Replace crypto API compression with zlib_deflate library calls
Kees Cook (1):
pstore: Remove worst-case compression size logic
fs/pstore/Kconfig | 100 +-------
fs/pstore/platform.c | 249 +++++---------------
2 files changed, 72 insertions(+), 277 deletions(-)
--
2.39.2
Powered by blists - more mailing lists