Linux: add ST_NOSYMFOLLOW

Linux v5.10 added a mount option MS_NOSYMFOLLOW, which was added to
glibc in commit 0ca21427d9.

Add the corresponding statfs/statvfs flag bit, ST_NOSYMFOLLOW.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
This commit is contained in:
Kir Kolyshkin 2023-09-27 15:37:12 -07:00 committed by Adhemerval Zanella
parent 40c0add7d4
commit 9e4e896f0f
1 changed files with 3 additions and 1 deletions

View File

@ -105,7 +105,9 @@ enum
# define ST_NOATIME ST_NOATIME
ST_NODIRATIME = 2048, /* Do not update directory access times. */
# define ST_NODIRATIME ST_NODIRATIME
ST_RELATIME = 4096 /* Update atime relative to mtime/ctime. */
ST_RELATIME = 4096, /* Update atime relative to mtime/ctime. */
# define ST_RELATIME ST_RELATIME
ST_NOSYMFOLLOW = 8192 /* Do not follow symlinks. */
# define ST_NOSYMFOLLOW ST_NOSYMFOLLOW
#endif /* Use GNU. */
};