]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitc158a35c8a681cf68d36f22f058f9f5466386c71
tree54a7fe4d21a30848539b2bf94c885f0a0b123717
parent41fdc3054e23e3229edea27053522fe052d02ec2
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