# Re: \[PATCH v22 06/23\] LSM: Use lsmblob in security\_secid\_to\_secctx

- From: James Morris \<jmorris@namei.org\>
- Date: 2020-11-10 06:56:35 
- List: netdev
- Page: https://ratatoskr.run/netdev/2020/11/6170711
- Thread: https://ratatoskr.run/linux-security-module/2020/11/6164787/t.md

```text
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@schaufler-ca.com>
> Cc: <redacted>
> Cc: <redacted>

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

-- 
James Morris
[ref]

```
