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

Paul Moore paul at paul-moore.com
Mon Feb 12 21:16:59 UTC 2024


On Mon, Feb 12, 2024 at 4:06 PM Mimi Zohar <zohar at linux.ibm.com> wrote:
>
> 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.

I take it this means you want to pull this via the IMA/EVM tree?

-- 
paul-moore.com



More information about the Linux-security-module-archive mailing list