mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00
remove dead code
This commit is contained in:
parent
912cb42ccb
commit
a9e9d7fe1d
1 changed files with 3 additions and 8 deletions
|
@ -737,14 +737,9 @@ int aa_audit(struct aaprofile *active, const struct aa_audit *sa)
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
audit_log_format(ab, "(%s(%d) ", current->comm, current->pid);
|
audit_log_format(ab, "(%s(%d) profile %s active %s)",
|
||||||
|
current->comm, current->pid,
|
||||||
if (0)
|
BASE_PROFILE(active)->name, active->name);
|
||||||
audit_log_format(ab, "[global deny])");
|
|
||||||
else
|
|
||||||
audit_log_format(ab, "profile %s active %s)",
|
|
||||||
BASE_PROFILE(active)->name,
|
|
||||||
active->name);
|
|
||||||
|
|
||||||
audit_log_end(ab);
|
audit_log_end(ab);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue