diff options
| author | Linus Torvalds <[email protected]> | 2012-04-02 22:48:12 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-04-03 16:49:59 +0000 |
| commit | b61c37f57988567c84359645f8202a7c84bc798a (patch) | |
| tree | a808c891711d060060a751f4119198dc06e2c847 /lib/debugobjects.c | |
| parent | SELinux: do not allocate stack space for AVC data unless needed (diff) | |
| download | kernel-b61c37f57988567c84359645f8202a7c84bc798a.tar.gz kernel-b61c37f57988567c84359645f8202a7c84bc798a.zip | |
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 <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
