diff options
author | 2020-07-09 01:19:00 -0500 | |
---|---|---|
committer | 2020-07-16 21:53:55 -0400 | |
commit | 9ff8a616dfab96a4fa0ddd36190907dc68886d9b (patch) | |
tree | 0acdb5172013a9860dd91c3ccc2ce9bcbb01c248 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | IMA: Add audit log for failure conditions (diff) | |
download | wireguard-linux-9ff8a616dfab96a4fa0ddd36190907dc68886d9b.tar.xz wireguard-linux-9ff8a616dfab96a4fa0ddd36190907dc68886d9b.zip |
ima: Have the LSM free its audit rule
Ask the LSM to free its audit rule rather than directly calling kfree().
Both AppArmor and SELinux do additional work in their audit_rule_free()
hooks. Fix memory leaks by allowing the LSMs to perform necessary work.
Fixes: b16942455193 ("ima: use the lsm policy update notifier")
Signed-off-by: Tyler Hicks <tyhicks@linux.microsoft.com>
Cc: Janne Karhunen <janne.karhunen@gmail.com>
Cc: Casey Schaufler <casey@schaufler-ca.com>
Reviewed-by: Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions