android_kernel_motorola_sm6225/security/smack
Eric Paris 3b3b0e4fc1 LSM: shrink sizeof LSM specific portion of common_audit_data
Linus found that the gigantic size of the common audit data caused a big
perf hit on something as simple as running stat() in a loop.  This patch
requires LSMs to declare the LSM specific portion separately rather than
doing it in a union.  Thus each LSM can be responsible for shrinking their
portion and don't have to pay a penalty just because other LSMs have a
bigger space requirement.

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-04-03 09:48:40 -07:00
..
Kconfig Smack: Simplified Mandatory Access Control Kernel 2008-02-05 09:44:20 -08:00
Makefile Smack: Simplified Mandatory Access Control Kernel 2008-02-05 09:44:20 -08:00
smack.h LSM: shrink sizeof LSM specific portion of common_audit_data 2012-04-03 09:48:40 -07:00
smack_access.c LSM: shrink sizeof LSM specific portion of common_audit_data 2012-04-03 09:48:40 -07:00
smack_lsm.c security: trim security.h 2012-02-14 10:45:42 +11:00
smackfs.c Smack: smackfs cipso seq read repair 2011-11-11 11:07:21 -08:00