diff options
author | Stefan Berger <stefanb@linux.ibm.com> | 2022-01-25 17:46:23 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-16 12:52:47 +0100 |
commit | 0939988b16a4434a10ba9ed10bee144ba05c8442 (patch) | |
tree | 47d0dd9bb0d1c9526039087cb90959141fc4fc24 /security/integrity/ima/ima_template.c | |
parent | ea58704f06f17b2111c35fe1d1dab6f3a2b46f81 (diff) |
ima: Remove ima_policy file before directory
commit f7333b9572d0559e00352a926c92f29f061b4569 upstream.
The removal of ima_dir currently fails since ima_policy still exists, so
remove the ima_policy file before removing the directory.
Fixes: 4af4662fa4a9 ("integrity: IMA policy")
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Cc: <stable@vger.kernel.org>
Acked-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security/integrity/ima/ima_template.c')
0 files changed, 0 insertions, 0 deletions