Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ima: ima_write_policy() limit locking
There is no need to hold the ima_write_mutex for so long. We only need it around ima_parse_add_rule(). Changelog: - The return path now takes into account failed kmalloc() call. Reported-by: Al Viro <[email protected]> Signed-off-by: Petko Manolov <[email protected]> Signed-off-by: Mimi Zohar <[email protected]>
- Loading branch information