summaryrefslogtreecommitdiff
path: root/include/sys/mount.h
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2020-12-19 20:56:23 +0000
committerRich Felker <dalias@aerifal.cx>2021-02-15 09:16:06 -0500
commita7456524d7bc95db76998804c8dc4bcfbeccab22 (patch)
tree94862889823c6e36b1eb84025173451b6e9a45c0 /include/sys/mount.h
parent54ca1cc7f1bce1c19593c0176aead964a2534933 (diff)
downloadmusl-a7456524d7bc95db76998804c8dc4bcfbeccab22.tar.gz
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.
Diffstat (limited to 'include/sys/mount.h')
-rw-r--r--include/sys/mount.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/mount.h b/include/sys/mount.h
index 57a89c09..09bd6e9d 100644
--- a/include/sys/mount.h
+++ b/include/sys/mount.h
@@ -31,6 +31,7 @@ extern "C" {
#define MS_REMOUNT 32
#define MS_MANDLOCK 64
#define MS_DIRSYNC 128
+#define MS_NOSYMFOLLOW 256
#define MS_NOATIME 1024
#define MS_NODIRATIME 2048
#define MS_BIND 4096