From: Date: Fri, 29 Apr 2005 14:54:44 +0000 (+0100) Subject: AUDIT: Avoid log pollution by untrusted strings. X-Git-Tag: v2.6.12-rc4~150 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83c7d09173fdb6b06b109e65895392db3e49ac9c;p=pandora-kernel.git AUDIT: Avoid log pollution by untrusted strings. We log strings from userspace, such as arguments to open(). These could be formatted to contain \n followed by fake audit log entries. Provide a function for logging such strings, which gives a hex dump when the string contains anything but basic printable ASCII characters. Use it for logging filenames. Signed-off-by: David Woodhouse --- Reading git-diff-tree failed