linux/security/selinux
Linus Torvalds b61c37f579 lsm_audit: don't specify the audit pre/post callbacks in 'struct common_audit_data'
It just bloats the audit data structure for no good reason, since the
only time those fields are filled are just before calling the
common_lsm_audit() function, which is also the only user of those
fields.

So just make them be the arguments to common_lsm_audit(), rather than
bloating that structure that is passed around everywhere, and is
initialized in hot paths.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-04-03 09:49:59 -07:00
..
include SELinux: do not allocate stack space for AVC data unless needed 2012-04-03 09:49:41 -07:00
ss
.gitignore
Kconfig
Makefile
avc.c lsm_audit: don't specify the audit pre/post callbacks in 'struct common_audit_data' 2012-04-03 09:49:59 -07:00
exports.c
hooks.c LSM: shrink the common_audit_data data union 2012-04-03 09:49:10 -07:00
netif.c
netlabel.c
netlink.c
netnode.c
netport.c
nlmsgtab.c
selinuxfs.c selinuxfs: merge dentry allocation into sel_make_dir() 2012-03-31 16:03:15 -04:00
xfrm.c