diff options
author | Roberto Sassu <roberto.sassu@huawei.com> | 2021-05-28 09:38:12 +0200 |
---|---|---|
committer | Mimi Zohar <zohar@linux.ibm.com> | 2021-06-03 10:03:40 -0400 |
commit | d721c15fd519c08819fbc6de39b713e2ed1d9894 (patch) | |
tree | 8310bbf6e53319a037ced2757fa30d4243338536 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 88016de3ab075790e1f1bf047576e9b557c22d19 (diff) |
evm: Don't return an error in evm_write_xattrs() if audit is not enabled
This patch avoids that evm_write_xattrs() returns an error when audit is
not enabled. The ab variable can be NULL and still be passed to the other
audit_log_() functions, as those functions do not include any instruction.
Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions