summaryrefslogtreecommitdiffstats
path: root/security/smack/smack_access.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2012-04-03 09:38:00 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-04-03 09:49:41 -0700
commit3f0882c48286e7bdb0bbdec9c4bfa934e0db8e09 (patch)
tree20a7485417c8528d975ef4ff6e90467f63f67ab2 /security/smack/smack_access.c
parentf8294f1144ad0630075918df4bf94075f5384604 (diff)
downloadlinux-3f0882c48286e7bdb0bbdec9c4bfa934e0db8e09.tar.gz
linux-3f0882c48286e7bdb0bbdec9c4bfa934e0db8e09.tar.bz2
linux-3f0882c48286e7bdb0bbdec9c4bfa934e0db8e09.zip
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 <eparis@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security/smack/smack_access.c')
0 files changed, 0 insertions, 0 deletions