audit: correct AUDIT_GET_FEATURE return message type
authorRichard Guy Briggs <rgb@redhat.com>
Mon, 25 Aug 2014 00:37:52 +0000 (20:37 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Nov 2014 17:23:01 +0000 (09:23 -0800)
commit374f060993fc6ca7336080abf46dc9b464280470
tree83d058eeb2bc1f0d2fb4a15a309b47f8d287e7cc
parent406ad132276e8207e1700744d767aa80121b87ea
audit: correct AUDIT_GET_FEATURE return message type

commit 9ef91514774a140e468f99d73d7593521e6d25dc upstream.

When an AUDIT_GET_FEATURE message is sent from userspace to the kernel, it
should reply with a message tagged as an AUDIT_GET_FEATURE type with a struct
audit_feature.  The current reply is a message tagged as an AUDIT_GET
type with a struct audit_feature.

This appears to have been a cut-and-paste-eo in commit b0fed40.

Reported-by: Steve Grubb <sgrubb@redhat.com>
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/audit.c