]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6d306ddceb82c230d7c52ab52781017fd311bd62
treea23e692d2816b1704aea60f3640e6f9fd2cdfad2
parent15e35b8088fb86c03da2e5fec57784887b6479f8
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