aboutsummaryrefslogtreecommitdiff
path: root/kernel/acct.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2009-06-11 14:31:34 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2009-06-23 23:50:34 -0400
commitb87ce6e4187c24b06483c8266822ce5e6b7fa7f3 (patch)
tree24b56d53dc03b0a6c8434ad2250c1c40d179d0ce /kernel/acct.c
parent35aa901c0b66cb3c2eeee23f13624014825a44a8 (diff)
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/acct.c')
0 files changed, 0 insertions, 0 deletions