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

From: Raul Rangel
Date: Tue Feb 04 2020 - 16:53:05 EST


> --- 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)