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

James Morris jmorris at namei.org
Tue Nov 10 06:56:17 UTC 2020


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 at schaufler-ca.com>
> Cc: netdev at vger.kernel.org
> Cc: linux-audit at redhat.com

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

-- 
James Morris
<jmorris at namei.org>



More information about the Linux-security-module-archive mailing list