# Re: \[PATCH ghak90 V7 17/21\] audit: add support for loginuid/sessionid set/get by netlink

- From: Paul Moore \<paul@paul-moore.com\>
- Date: 2019-10-11 00:41:07 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2019/10/164801
- Thread: https://ratatoskr.run/linux-api/2019/09/163773/t.md

```text
On Wed, Sep 18, 2019 at 9:27 PM Richard Guy Briggs [ref] wrote:
> Add the ability to get and set the login uid and to get the session id
> using an audit netlink message using message types AUDIT_GET_LOGINUID
> 1024, AUDIT_SET_LOGINUID 1025 and AUDIT_GET_SESSIONID 1026 in addition
> to using the proc filesystem.
>
> Signed-off-by: Richard Guy Briggs <redacted>
> ---
>  include/uapi/linux/audit.h |  3 +++
>  kernel/audit.c             | 62 ++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 65 insertions(+)

This is completely independent of the audit container ID work, yes?
If so, it shouldn't be part of this patchset.

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