diff options
author | Richard Guy Briggs <rgb@redhat.com> | 2014-10-30 11:22:53 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-21 09:23:01 -0800 |
commit | 1035897060b3e20bf0e166734ba90f9057e4fd29 (patch) | |
tree | d96356c4f5ec848384f7645e6f5766652c1edacc /kernel | |
parent | 374f060993fc6ca7336080abf46dc9b464280470 (diff) | |
download | lwn-1035897060b3e20bf0e166734ba90f9057e4fd29.tar.gz lwn-1035897060b3e20bf0e166734ba90f9057e4fd29.zip |
audit: AUDIT_FEATURE_CHANGE message format missing delimiting space
commit 897f1acbb6702ddaa953e8d8436eee3b12016c7e upstream.
Add a space between subj= and feature= fields to make them parsable.
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Paul Moore <pmoore@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
-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 b2f98a73875d..b45b2daa9f92 100644 --- a/kernel/audit.c +++ b/kernel/audit.c @@ -702,7 +702,7 @@ static void audit_log_feature_change(int which, u32 old_feature, u32 new_feature ab = audit_log_start(NULL, GFP_KERNEL, AUDIT_FEATURE_CHANGE); audit_log_task_info(ab, current); - audit_log_format(ab, "feature=%s old=%u new=%u old_lock=%u new_lock=%u res=%d", + audit_log_format(ab, " feature=%s old=%u new=%u old_lock=%u new_lock=%u res=%d", audit_feature_names[which], !!old_feature, !!new_feature, !!old_lock, !!new_lock, res); audit_log_end(ab); |