Re: [PATCH v2] fanotify: notify on mount attach and detach

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 11, 2024 at 12:24:03PM +0100, Christian Brauner wrote:
> On Wed, Dec 11, 2024 at 11:55:37AM +0100, Miklos Szeredi wrote:
> > On Wed, 11 Dec 2024 at 11:34, Christian Brauner <brauner@xxxxxxxxxx> wrote:
> > 
> > > For that the caller has to exit or switch to another mount namespace.
> > > But that can only happen when all notifications have been registered.
> > > I may misunderstand what you mean though.
> > 
> > Ah, umount can only be done by a task that is in the namespace of the
> > mount.  I cannot find a hole in that logic, but it does seem rather
> 
> Currently... I have a finished patch series that allows unmounting by
> mount id including support for unmounting mounts in other namespaces
> without requiring setns(). That's sitting in my tree since v6.11-rc1. I
> should get that out.

https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git work.umount_by_id
fwiw




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux