From 0ca21427d950755b74b8e6c3abffb01ce807d8b9 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 2 Feb 2021 01:17:00 +0000 Subject: [PATCH] Add MS_NOSYMFOLLOW from Linux 5.10 to . This patch adds the new constant MS_NOSYMFOLLOW from Linux 5.10 to . Tested for x86_64. --- sysdeps/unix/sysv/linux/sys/mount.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sysdeps/unix/sysv/linux/sys/mount.h b/sysdeps/unix/sysv/linux/sys/mount.h index e66060c..cd8af04 100644 --- a/sysdeps/unix/sysv/linux/sys/mount.h +++ b/sysdeps/unix/sysv/linux/sys/mount.h @@ -48,6 +48,8 @@ enum #define MS_MANDLOCK MS_MANDLOCK MS_DIRSYNC = 128, /* Directory modifications are synchronous. */ #define MS_DIRSYNC MS_DIRSYNC + MS_NOSYMFOLLOW = 256, /* Do not follow symlinks. */ +#define MS_NOSYMFOLLOW MS_NOSYMFOLLOW MS_NOATIME = 1024, /* Do not update access times. */ #define MS_NOATIME MS_NOATIME MS_NODIRATIME = 2048, /* Do not update directory access times. */ -- 2.7.4