commit | 20eb4c4bcab0f7ce05051ed5b81ee33229e63565 | [log] [tgz] |
---|---|---|
author | Mimi Zohar <[email protected]> | Tue Jan 23 15:00:41 2018 |
committer | Robert Kolchmeyer <[email protected]> | Thu Oct 25 15:05:25 2018 |
tree | 127d04ade45b89e135e0ca4c5b0bff9bf140d3b9 | |
parent | 35d59834970c7ec5099014c0f3f2abc4ca8c8b31 [diff] |
UPSTREAM: ima: re-initialize iint->atomic_flags Intermittently security.ima is not being written for new files. This patch re-initializes the new slab iint->atomic_flags field before freeing it. Fixes: commit 0d73a55208e9 ("ima: re-introduce own integrity cache lock") Signed-off-by: Mimi Zohar <[email protected]> Signed-off-by: James Morris <[email protected]> (cherry picked from commit e2598077dc6a26c9644393e5c21f22a90dbdccdb) Change-Id: I74cab93b5d5ce98e142c57790830804e9ce60d9c Reviewed-on: https://chromium-review.googlesource.com/1279325 Commit-Ready: Aditya Kali <[email protected]> Tested-by: Aditya Kali <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Reviewed-by: Trevor Bourget <[email protected]> (cherry picked from commit 8113d696b7926fc688666028a345e4aa02ef98e1) Reviewed-on: https://chromium-review.googlesource.com/c/1296902 Tested-by: Robert Kolchmeyer <[email protected]>