summaryrefslogtreecommitdiffstats
path: root/kernel/audit.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2014-01-13 16:48:45 -0500
committerEric Paris <eparis@redhat.com>2014-01-13 22:33:36 -0500
commit70249a9cfdb405f654708699c679c6774efb31d8 (patch)
tree3e3f102a255fe974fb0b7ae3841daff4021517c9 /kernel/audit.c
parentd7961148258cfe19908b5a29941a8c9f3fa7a4d6 (diff)
downloadop-kernel-dev-70249a9cfdb405f654708699c679c6774efb31d8.zip
op-kernel-dev-70249a9cfdb405f654708699c679c6774efb31d8.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit.c b/kernel/audit.c
index 57d47f0..b671723 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));
OpenPOWER on IntegriCloud