Skip to content
Commit ef88a7ac authored by John Johansen's avatar John Johansen
Browse files

apparmor: change aad apparmor_audit_data macro to a fn macro



The aad macro can replace aad strings when it is not intended to. Switch
to a fn macro so it is only applied when intended.

Also at the same time cleanup audit_data initialization by putting
common boiler plate behind a macro, and dropping the gfp_t parameter
which will become useless.

Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent 47f6e5cc
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