[AUDIT] break large execve argument logging into smaller messages
authorEric Paris <eparis@redhat.com>
Mon, 7 Jan 2008 19:31:58 +0000 (14:31 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 1 Feb 2008 19:23:55 +0000 (14:23 -0500)
commitde6bbd1d30e5912620d25dd15e3f180ac7f9fcef
tree3807b13f8e2e490c258c5bb37915c95fc1bcfe20
parente445deb593d67c8ed13bd357c780a93d78bc84cf
[AUDIT] break large execve argument logging into smaller messages

execve arguments can be quite large.  There is no limit on the number of
arguments and a 4G limit on the size of an argument.

this patch prints those aruguments in bite sized pieces.  a userspace size
limitation of 8k was discovered so this keeps messages around 7.5k

single arguments larger than 7.5k in length are split into multiple records
and can be identified as aX[Y]=

Signed-off-by: Eric Paris <eparis@redhat.com>
Documentation/filesystems/proc.txt
include/linux/audit.h
kernel/audit.c
kernel/auditsc.c
kernel/sysctl.c