diff options
author | Joseph Myers <joseph@codesourcery.com> | 2021-02-02 01:17:00 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2021-02-02 01:17:00 +0000 |
commit | 0ca21427d950755b74b8e6c3abffb01ce807d8b9 (patch) | |
tree | c86eb638d5a0af0c2b14cf9e2938c59b230da76c | |
parent | 57fb02b2cf26847380352fa06e6c711eff5faae9 (diff) | |
download | glibc-0ca21427d950755b74b8e6c3abffb01ce807d8b9.zip glibc-0ca21427d950755b74b8e6c3abffb01ce807d8b9.tar.gz glibc-0ca21427d950755b74b8e6c3abffb01ce807d8b9.tar.bz2 |
Add MS_NOSYMFOLLOW from Linux 5.10 to <sys/mount.h>.
This patch adds the new constant MS_NOSYMFOLLOW from Linux 5.10 to
<sys/mount.h>.
Tested for x86_64.
-rw-r--r-- | sysdeps/unix/sysv/linux/sys/mount.h | 2 |
1 files changed, 2 insertions, 0 deletions
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. */ |