Re: [PATCH v5] Add a "nosymfollow" mount option.

From: Ross Zwisler
Date: Tue Feb 04 2020 - 17:11:24 EST


On Tue, Feb 4, 2020 at 2:53 PM Raul Rangel <rrangel@xxxxxxxxxx> wrote:
> > --- a/include/uapi/linux/mount.h
> > +++ b/include/uapi/linux/mount.h
> > @@ -34,6 +34,7 @@
> > #define MS_I_VERSION (1<<23) /* Update inode I_version field */
> > #define MS_STRICTATIME (1<<24) /* Always perform atime updates */
> > #define MS_LAZYTIME (1<<25) /* Update the on-disk [acm]times lazily */
> > +#define MS_NOSYMFOLLOW (1<<26) /* Do not follow symlinks */
> Doesn't this conflict with MS_SUBMOUNT below?
> >
> > /* These sb flags are internal to the kernel */
> > #define MS_SUBMOUNT (1<<26)

Yep. Thanks for the catch, v6 on it's way.