Re: [RFC PATCH] fanotify, inotify, dnotify, security: add security hook for fs notifications

From: James Morris
Date: Thu Jul 11 2019 - 23:29:51 EST


On Wed, 10 Jul 2019, Casey Schaufler wrote:

> On 7/10/2019 6:34 AM, Aaron Goidel wrote:
>
> > Furthermore, fanotify watches grant more power to
> > an application in the form of permission events. While notification events
> > are solely, unidirectional (i.e. they only pass information to the
> > receiving application), permission events are blocking. Permission events
> > make a request to the receiving application which will then reply with a
> > decision as to whether or not that action may be completed.
>
> You're not saying why this is an issue.

Also in the description, please explain the issues with read and write
notifications and why a simple 'read' permission is not adequate.


--
James Morris
<jmorris@xxxxxxxxx>