]> 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)
commitf3d2fe4ba870929d76c0873a2c1ac81b00d9a02a
tree54a7fe4d21a30848539b2bf94c885f0a0b123717
parent422cdd69cb9414806c8ec9f9933916cecfea5c6f
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