diff options
author | Eric Paris <eparis@redhat.com> | 2014-01-13 22:48:45 +0100 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2014-01-14 04:33:36 +0100 |
commit | 70249a9cfdb405f654708699c679c6774efb31d8 (patch) | |
tree | 3e3f102a255fe974fb0b7ae3841daff4021517c9 /kernel/audit.c | |
parent | audit: documentation of audit= kernel parameter (diff) | |
download | linux-70249a9cfdb405f654708699c679c6774efb31d8.tar.xz linux-70249a9cfdb405f654708699c679c6774efb31d8.zip |
audit: use define's for audit version
Give names to the audit versions. Just something for a userspace
programmer to know what the version provides.
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'kernel/audit.c')
-rw-r--r-- | kernel/audit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit.c b/kernel/audit.c index 57d47f08ed15..b6717231d3d4 100644 --- a/kernel/audit.c +++ b/kernel/audit.c @@ -792,7 +792,7 @@ static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh) s.backlog_limit = audit_backlog_limit; s.lost = atomic_read(&audit_lost); s.backlog = skb_queue_len(&audit_skb_queue); - s.version = 2; + s.version = AUDIT_VERSION_LATEST; s.backlog_wait_time = audit_backlog_wait_time; audit_send_reply(NETLINK_CB(skb).portid, seq, AUDIT_GET, 0, 0, &s, sizeof(s)); |