]> git.baikalelectronics.ru Git - kernel.git/commit
audit: no leading space in audit_log_d_path prefix
authorKees Cook <keescook@chromium.org>
Fri, 6 Jan 2012 22:07:10 +0000 (14:07 -0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 17 Jan 2012 21:17:04 +0000 (16:17 -0500)
commit05ee6d049bf0a2cfd43909c210d0732cfec88c9f
tree54a7fe4d21a30848539b2bf94c885f0a0b123717
parent8b4859df7f5790eee8193e2685700c5c71efc907
audit: no leading space in audit_log_d_path prefix

audit_log_d_path() injects an additional space before the prefix,
which serves no purpose and doesn't mix well with other audit_log*()
functions that do not sneak extra characters into the log.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/audit.c
kernel/auditsc.c
security/lsm_audit.c