projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57fb02b
)
Add MS_NOSYMFOLLOW from Linux 5.10 to <sys/mount.h>.
author
Joseph Myers
<joseph@codesourcery.com>
Tue, 2 Feb 2021 01:17:00 +0000
(
01:17
+0000)
committer
Joseph Myers
<joseph@codesourcery.com>
Tue, 2 Feb 2021 01:17:00 +0000
(
01:17
+0000)
This patch adds the new constant MS_NOSYMFOLLOW from Linux 5.10 to
<sys/mount.h>.
Tested for x86_64.
sysdeps/unix/sysv/linux/sys/mount.h
patch
|
blob
|
history
diff --git
a/sysdeps/unix/sysv/linux/sys/mount.h
b/sysdeps/unix/sysv/linux/sys/mount.h
index e66060ca4a294f40950d4d832f752937ed4db921..cd8af04f1d17605fac2d305c3a500e1af9d87208 100644
(file)
--- a/
sysdeps/unix/sysv/linux/sys/mount.h
+++ b/
sysdeps/unix/sysv/linux/sys/mount.h
@@
-48,6
+48,8
@@
enum
#define MS_MANDLOCK MS_MANDLOCK
MS_DIRSYNC = 128, /* Directory modifications are synchronous. */
#define MS_DIRSYNC MS_DIRSYNC
+ MS_NOSYMFOLLOW = 256, /* Do not follow symlinks. */
+#define MS_NOSYMFOLLOW MS_NOSYMFOLLOW
MS_NOATIME = 1024, /* Do not update access times. */
#define MS_NOATIME MS_NOATIME
MS_NODIRATIME = 2048, /* Do not update directory access times. */