Skip to content
Commit b61c37f5 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

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: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3f0882c4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment