[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Virtio-fs] [PATCH] virtiofsd: remove symlink fallbacks
From: |
Miklos Szeredi |
Subject: |
Re: [Virtio-fs] [PATCH] virtiofsd: remove symlink fallbacks |
Date: |
Fri, 15 May 2020 06:42:00 +0200 |
On Fri, May 15, 2020 at 5:43 AM Liu Bo <address@hidden> wrote:
>
> On Thu, May 14, 2020 at 04:07:36PM +0200, Miklos Szeredi wrote:
> > Path lookup in the kernel has special rules for looking up magic symlinks
> > under /proc. If a filesystem operation is instructed to follow symlinks
> > (e.g. via AT_SYMLINK_FOLLOW or lack of AT_SYMLINK_NOFOLLOW), and the final
> > component is such a proc symlink, then the target of the magic symlink is
> > used for the operation, even if the target itself is a symlink. I.e. path
> > lookup is always terminated after following a final magic symlink.
> >
>
> Hi Miklos,
>
> Are these mentioned special rules supported by a recent kernel version
> or are they there from day one linux?
Hi Liubo,
AFAICS, these rules have been there from day one.
Thanks,
Miklos