From: Eric Paris Date: Tue, 3 Apr 2012 16:38:00 +0000 (-0700) Subject: SELinux: do not allocate stack space for AVC data unless needed X-Git-Tag: v3.4-rc2~20^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f0882c48286e7bdb0bbdec9c4bfa934e0db8e09;p=pandora-kernel.git SELinux: do not allocate stack space for AVC data unless needed Instead of declaring the entire selinux_audit_data on the stack when we start an operation on declare it on the stack if we are going to use it. We know it's usefulness at the end of the security decision and can declare it there. Signed-off-by: Eric Paris Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed