projects
/
musl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54ca1cc
)
sys/mount.h: add MS_NOSYMFOLLOW from linux v5.10
author
Szabolcs Nagy
<nsz@port70.net>
Sat, 19 Dec 2020 20:56:23 +0000
(20:56 +0000)
committer
Rich Felker
<dalias@aerifal.cx>
Mon, 15 Feb 2021 14:16:06 +0000
(09:16 -0500)
path resolution does not follow symlinks on nosymfollow mounts (but
readlink still does), see
linux commit
dab741e0e02bd3c4f5e2e97be74b39df2523fc6e
Add a "nosymfollow" mount option.
include/sys/mount.h
patch
|
blob
|
history
diff --git
a/include/sys/mount.h
b/include/sys/mount.h
index
57a89c0
..
09bd6e9
100644
(file)
--- 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