Re: [PATCH v22 05/12] LSM: Infrastructure management of the superblock

From: James Morris
Date: Wed Oct 28 2020 - 22:03:10 EST


On Tue, 27 Oct 2020, Mickaël Salaün wrote:

> From: Casey Schaufler <casey@xxxxxxxxxxxxxxxx>
>
> Move management of the superblock->sb_security blob out of the
> individual security modules and into the security infrastructure.
> Instead of allocating the blobs from within the modules, the modules
> tell the infrastructure how much space is required, and the space is
> allocated there.
>
> Cc: Kees Cook <keescook@xxxxxxxxxxxx>
> Cc: John Johansen <john.johansen@xxxxxxxxxxxxx>
> Signed-off-by: Casey Schaufler <casey@xxxxxxxxxxxxxxxx>
> Signed-off-by: Mickaël Salaün <mic@xxxxxxxxxxxxxxxxxxx>
> Reviewed-by: Stephen Smalley <stephen.smalley.work@xxxxxxxxx>

It would be good to see review from JJ here.

--
James Morris
<jmorris@xxxxxxxxx>