diff options
| author | Wei Yongjun <[email protected]> | 2018-07-11 13:28:40 +0000 |
|---|---|---|
| committer | Mimi Zohar <[email protected]> | 2018-07-22 18:49:11 +0000 |
| commit | 3dd0f18c70d94ca2432c78c5735744429f071b0b (patch) | |
| tree | 2e6f6197b0545d4ae84cdf35382981b0a0c0ecca /tools/perf/scripts/python | |
| parent | integrity: prevent deadlock during digsig verification. (diff) | |
| download | kernel-3dd0f18c70d94ca2432c78c5735744429f071b0b.tar.gz kernel-3dd0f18c70d94ca2432c78c5735744429f071b0b.zip | |
EVM: fix return value check in evm_write_xattrs()
In case of error, the function audit_log_start() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check should be
replaced with NULL test.
Fixes: fa516b66a1bf ("EVM: Allow runtime modification of the set of verified xattrs")
Signed-off-by: Wei Yongjun <[email protected]>
Acked-by: Serge Hallyn <[email protected]>
Signed-off-by: Mimi Zohar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
