summaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
author <dwmw2@shinybook.infradead.org>2005-04-29 16:54:44 +0200
committer <dwmw2@shinybook.infradead.org>2005-04-29 16:54:44 +0200
commit83c7d09173fdb6b06b109e65895392db3e49ac9c (patch)
tree3f48367a4d1413e221a5367bcd0cf8df7322c368 /fs/namei.c
parent[PATCH] x86_64: fix PT_NOTE addition to IA32 vDSO (diff)
downloadlinux-83c7d09173fdb6b06b109e65895392db3e49ac9c.tar.xz
linux-83c7d09173fdb6b06b109e65895392db3e49ac9c.zip
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 <dwmw2@infradead.org>
Diffstat (limited to 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions