Re: [PATCH v3 1/3] ovl: make redirect/metacopy rejection consistent

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

 



On Wed, Apr 9, 2025 at 1:12 PM Miklos Szeredi <miklos@xxxxxxxxxx> wrote:
>
> On Wed, 9 Apr 2025 at 10:25, Amir Goldstein <amir73il@xxxxxxxxx> wrote:
>
> > On second thought, if unpriv user suppresses ovl_set_redirect()
> > by setting some mock redirect value on index maybe that lead to some
> > risk. Not worth overthinking about it.
> >
> > Attached patch removed next* variables without this compromise.
> >
> > Tested it squashed to patch 1 and minor rebase conflicts fixes in patch 2.
> > It passed your tests.
>
> Thanks.
>
> One more change:  in this patch we just want the consistency fix, not
> the behavior change introduced in 2/3.  So move the
> ovl_check_follow_redirect() to before the lazy-data check here and
> restore the order in the next patch.

Right.

>
> Pushed to overlayfs/vfs.git#overlayfs-next

Looks good.

Thanks,
Amir.

FYI, I am going to be on vacation 6.15-rc3..6.15-rc5.





[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