# Re: \[PATCH v20 08/23\] LSM: Use lsmblob in security\_ipc\_getsecid

- From: Paul Moore \<paul@paul-moore.com\>
- Date: 2020-09-05 13:13:04 
- List: linux-security-module
- Page: https://ratatoskr.run/linux-security-module/2020/09/16282932
- Thread: https://ratatoskr.run/linux-security-module/2020/08/16282905/t.md

```text
On Wed, Aug 26, 2020 at 11:10 AM Casey Schaufler [ref] wrote:
>
> There may be more than one LSM that provides IPC data
> for auditing. Change security_ipc_getsecid() to fill in
> a lsmblob structure instead of the u32 secid. The
> audit data structure containing the secid will be updated
> later, so there is a bit of scaffolding here.
>
> Reviewed-by: Kees Cook <redacted>
> Reviewed-by: John Johansen <john.johansen@canonical.com>
> Acked-by: Stephen Smalley <redacted>
> Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
> ---
>  include/linux/security.h |  7 ++++---
>  kernel/auditsc.c         |  7 ++++++-
>  security/security.c      | 12 +++++++++---
>  3 files changed, 19 insertions(+), 7 deletions(-)

Acked-by: Paul Moore <paul@paul-moore.com>

-- 
paul moore
www.paul-moore.com
```
