diff options
author | Petko Manolov <petkan@mip-labs.com> | 2016-01-03 16:36:38 +0100 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2016-01-03 19:22:38 +0100 |
commit | 6427e6c71c8b374761b661c4f355762794c171a1 (patch) | |
tree | 3648577f5c9ca834f9e634e93ea94cecae6e3245 /init | |
parent | IMA: policy can be updated zero times (diff) | |
download | linux-6427e6c71c8b374761b661c4f355762794c171a1.tar.xz linux-6427e6c71c8b374761b661c4f355762794c171a1.zip |
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 <viro@ZenIV.linux.org.uk>
Signed-off-by: Petko Manolov <petkan@mip-labs.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions