Re: [PATCH v9 12/25] security: Introduce file_post_open hook

From: Mimi Zohar
Date: Mon Feb 12 2024 - 16:06:46 EST


Hi Roberto,


> diff --git a/security/security.c b/security/security.c
> index d9d2636104db..f3d92bffd02f 100644
> --- a/security/security.c
> +++ b/security/security.c
> @@ -2972,6 +2972,23 @@ int security_file_open(struct file *file)
> return fsnotify_perm(file, MAY_OPEN); <=== Conflict

Replace with "return fsnotify_open_perm(file);"

> }
>

The patch set doesn't apply cleaning to 6.8-rcX without this change. Unless
there are other issues, I can make the change.

thanks,

Mimi