diff options
author | Kir Kolyshkin <kolyshkin@gmail.com> | 2023-09-27 15:37:12 -0700 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-10-02 10:54:27 -0300 |
commit | 9e4e896f0f5a19a16c1a77567463b013a0f4952d (patch) | |
tree | 8097d6e68c11196893a1aaffbeb5087ea9b01bd8 /sysdeps/unix/sysv | |
parent | 40c0add7d48739f5d89ebba255c1df26629a76e2 (diff) | |
download | glibc-9e4e896f0f5a19a16c1a77567463b013a0f4952d.tar glibc-9e4e896f0f5a19a16c1a77567463b013a0f4952d.tar.gz glibc-9e4e896f0f5a19a16c1a77567463b013a0f4952d.tar.bz2 glibc-9e4e896f0f5a19a16c1a77567463b013a0f4952d.zip |
Linux: add ST_NOSYMFOLLOW
Linux v5.10 added a mount option MS_NOSYMFOLLOW, which was added to
glibc in commit 0ca21427d950755b.
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>
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/statvfs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/statvfs.h b/sysdeps/unix/sysv/linux/bits/statvfs.h index cf98460e00..ed965f287f 100644 --- a/sysdeps/unix/sysv/linux/bits/statvfs.h +++ b/sysdeps/unix/sysv/linux/bits/statvfs.h @@ -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. */ }; |