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 <weiyongjun1@huawei.com>
Acked-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
|
||
|---|---|---|
| .. | ||
| evm_crypto.c | ||
| evm_main.c | ||
| evm_posix_acl.c | ||
| evm_secfs.c | ||
| evm.h | ||
| Kconfig | ||
| Makefile | ||