mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
LSM: remove the COMMON_AUDIT_DATA_INIT type expansion
Just open code it so grep on the source code works better. Signed-off-by: Eric Paris <eparis@redhat.com>
This commit is contained in:
parent
d4cf970d07
commit
bd5e50f9c1
11 changed files with 44 additions and 44 deletions
|
@ -42,7 +42,7 @@ static int aa_audit_ptrace(struct aa_profile *profile,
|
|||
{
|
||||
struct common_audit_data sa;
|
||||
struct apparmor_audit_data aad = {0,};
|
||||
COMMON_AUDIT_DATA_INIT(&sa, NONE);
|
||||
COMMON_AUDIT_DATA_INIT(&sa, LSM_AUDIT_DATA_NONE);
|
||||
sa.aad = &aad;
|
||||
aad.op = OP_PTRACE;
|
||||
aad.target = target;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue