sys/mount.h: add MS_NOSYMFOLLOW from linux v5.10

path resolution does not follow symlinks on nosymfollow mounts (but
readlink still does), see

  linux commit dab741e0e02bd3c4f5e2e97be74b39df2523fc6e
  Add a "nosymfollow" mount option.
This commit is contained in:
Szabolcs Nagy 2020-12-19 20:56:23 +00:00 committed by Rich Felker
parent 54ca1cc7f1
commit a7456524d7
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ extern "C" {
#define MS_REMOUNT 32 #define MS_REMOUNT 32
#define MS_MANDLOCK 64 #define MS_MANDLOCK 64
#define MS_DIRSYNC 128 #define MS_DIRSYNC 128
#define MS_NOSYMFOLLOW 256
#define MS_NOATIME 1024 #define MS_NOATIME 1024
#define MS_NODIRATIME 2048 #define MS_NODIRATIME 2048
#define MS_BIND 4096 #define MS_BIND 4096