https://github.com/torvalds/linux
Revision b87ce6e4187c24b06483c8266822ce5e6b7fa7f3 authored by Eric Paris on 11 June 2009, 18:31:34 UTC, committed by Al Viro on 24 June 2009, 03:50:34 UTC
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>
1 parent 35aa901
History
Tip revision: b87ce6e4187c24b06483c8266822ce5e6b7fa7f3 authored by Eric Paris on 11 June 2009, 18:31:34 UTC
Audit: better estimation of execve record length
Tip revision: b87ce6e
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 945 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.7 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 147.7 KB
Makefile -rw-r--r-- 53.8 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top