[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YafYvA5JWMgb6PVy@google.com>
Date: Wed, 1 Dec 2021 12:19:08 -0800
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Kees Cook <keescook@...omium.org>
Cc: Luis Chamberlain <mcgrof@...nel.org>, Jessica Yu <jeyu@...nel.org>,
linux-kernel@...r.kernel.org, linux-modules@...r.kernel.org
Subject: Re: [PATCH] module: add in-kernel support for decompressing
On Wed, Dec 01, 2021 at 11:24:35AM -0800, Kees Cook wrote:
> On Sat, Nov 27, 2021 at 09:48:22PM -0800, Dmitry Torokhov wrote:
> > /* Flags for sys_finit_module: */
> > #define MODULE_INIT_IGNORE_MODVERSIONS 1
> > #define MODULE_INIT_IGNORE_VERMAGIC 2
> > +#define MODULE_INIT_COMPRESSED_DATA 4
>
> bikeshedding: adding "_DATA" seems redundant/misleading? The entire
> module is compressed, so maybe call it just MODULE_INIT_COMPRESSED ?
OK, or maybe MODULE_INIT_COMPRESSED_FILE since we are indeed dealing
with a file?
Thanks.
--
Dmitry
Powered by blists - more mailing lists