diff options
author | Eric Paris <eparis@redhat.com> | 2008-04-18 14:09:25 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-04-28 10:18:03 (GMT) |
commit | 2532386f480eefbdd67b48be55fb4fb3e5a6081c (patch) | |
tree | dd6a5a3c4116a67380a1336319c16632f04f80f9 /include/net/netlabel.h | |
parent | 436c405c7d19455a71f42c9bec5fd5e028f1eb4e (diff) | |
download | linux-2532386f480eefbdd67b48be55fb4fb3e5a6081c.tar.xz |
Audit: collect sessionid in netlink messages
Previously I added sessionid output to all audit messages where it was
available but we still didn't know the sessionid of the sender of
netlink messages. This patch adds that information to netlink messages
so we can audit who sent netlink messages.
Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/net/netlabel.h')
-rw-r--r-- | include/net/netlabel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netlabel.h b/include/net/netlabel.h index 5e53a85..e4d2d6b 100644 --- a/include/net/netlabel.h +++ b/include/net/netlabel.h @@ -103,6 +103,7 @@ struct cipso_v4_doi; struct netlbl_audit { u32 secid; uid_t loginuid; + u32 sessionid; }; /* |