Re: [PATCH v2 8/8] selftests/fs/mount-notify: add a test variant running inside userns

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

 



On Fri, May 09, 2025 at 03:32:40PM +0200, Amir Goldstein wrote:
> unshare userns in addition to mntns and verify that:
> 
> 1. watching tmpfs mounted inside userns is allowed with any mark type
> 2. watching orig root with filesystem mark type is not allowed
> 3. watching mntns of orig userns is not allowed
> 4. watching mntns in userns where fanotify_init was called is allowed
> 
> mount events are only tested with the last case of mntns mark.
> 
> Signed-off-by: Amir Goldstein <amir73il@xxxxxxxxx>
> ---

Reviewed-by: Christian Brauner <brauner@xxxxxxxxxx>




[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