summaryrefslogtreecommitdiff
path: root/kernel/auditfilter.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2009-06-11 18:31:34 (GMT)
committerAl Viro <viro@zeniv.linux.org.uk>2009-06-24 03:50:34 (GMT)
commitb87ce6e4187c24b06483c8266822ce5e6b7fa7f3 (patch)
tree24b56d53dc03b0a6c8434ad2250c1c40d179d0ce /kernel/auditfilter.c
parent35aa901c0b66cb3c2eeee23f13624014825a44a8 (diff)
downloadlinux-b87ce6e4187c24b06483c8266822ce5e6b7fa7f3.tar.xz
Audit: better estimation of execve record length
The audit execve record splitting code estimates the length of the message generated. But it forgot to include the "" that wrap each string in its estimation. This means that execve messages with lots of tiny (1-2 byte) arguments could still cause records greater than 8k to be emitted. Simply fix the estimate. Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'kernel/auditfilter.c')
0 files changed, 0 insertions, 0 deletions