audit: clean up AUDIT_GET/SET local variables and future-proof API
authorRichard Guy Briggs <rgb@redhat.com>
Wed, 18 Sep 2013 13:32:24 +0000 (09:32 -0400)
committerEric Paris <eparis@redhat.com>
Tue, 14 Jan 2014 03:28:39 +0000 (22:28 -0500)
commit09f883a9023e7a86f92c731e80f30a9447f4bdbe
treea23e692d2816b1704aea60f3640e6f9fd2cdfad2
parentf910fde7307be80a1a228bba969c492f61f13281
audit: clean up AUDIT_GET/SET local variables and future-proof API

Re-named confusing local variable names (status_set and status_get didn't agree
with their command type name) and reduced their scope.

Future-proof API changes by not depending on the exact size of the audit_status
struct and by adding an API version field.

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
include/uapi/linux/audit.h
kernel/audit.c