commit | ef88a7ac55fdd3bf6ac3942b83aa29311b45339b | [log] [tgz] |
---|---|---|
author | John Johansen <john.johansen@canonical.com> | Mon Jan 16 00:43:02 2017 -0800 |
committer | John Johansen <john.johansen@canonical.com> | Mon Jan 16 01:18:47 2017 -0800 |
tree | 54c6b15e2101650dd169caf745bdb17521db899c | |
parent | 47f6e5cc7355e4ff2fd7ace919aa9e291077c26b [diff] |
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: John Johansen <john.johansen@canonical.com>