Re: [PATCH v22 06/23] LSM: Use lsmblob in security_secid_to_secctx

From: James Morris
Date: Tue Nov 10 2020 - 01:56:41 EST


On Wed, 4 Nov 2020, Casey Schaufler wrote:

> Change security_secid_to_secctx() to take a lsmblob as input
> instead of a u32 secid. It will then call the LSM hooks
> using the lsmblob element allocated for that module. The
> callers have been updated as well. This allows for the
> possibility that more than one module may be called upon
> to translate a secid to a string, as can occur in the
> audit code.
>
> Signed-off-by: Casey Schaufler <casey@xxxxxxxxxxxxxxxx>
> Cc: netdev@xxxxxxxxxxxxxxx
> Cc: linux-audit@xxxxxxxxxx

Ditto with this, + audit. Also, you should put primary maintainers on the
To: line or they may miss the email.

--
James Morris
<jmorris@xxxxxxxxx>