[PATCH 3/7] vfs: Add a mount-notification facility

David Howells dhowells at redhat.com
Tue May 28 23:04:46 UTC 2019


Jann Horn <jannh at google.com> wrote:

> It might make sense to redesign this stuff so that watches don't hold
> references on the object being watched.

I explicitly made it hold a reference so that if you place a watch on an
automounted mount it stops it from expiring.

Further, if I create a watch on something, *should* it be unmountable, just as
if I had a file open there or had chdir'd into there?

David



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