[PATCH 09/10] ipe: don't bother with removal of files in directory we'll be removing
Fan Wu
wufan at kernel.org
Thu Jun 12 17:43:12 UTC 2025
On Wed, Jun 11, 2025 at 8:12 PM Al Viro <viro at zeniv.linux.org.uk> wrote:
>
> ... and use securityfs_remove() instead of securityfs_recursive_remove()
>
> Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
> ---
> security/ipe/fs.c | 32 ++++++++++++--------------------
> security/ipe/policy_fs.c | 4 ++--
> 2 files changed, 14 insertions(+), 22 deletions(-)
>
Acked-by: Fan Wu <wufan at kernel.org>
These changes look good to me. I ran our ipe test suite and it works well.
However, I didn't try fault injection to trigger the dentry creation
failure. I will try it later.
-Fan
More information about the Linux-security-module-archive
mailing list