1 /* Generated by ./xlat/gen.sh from ./xlat/mount_flags.in; do not edit. */
2 #if !(defined(MS_RDONLY) || (defined(HAVE_DECL_MS_RDONLY) && HAVE_DECL_MS_RDONLY))
3 # define MS_RDONLY 1
4 #endif
5 #if !(defined(MS_NOSUID) || (defined(HAVE_DECL_MS_NOSUID) && HAVE_DECL_MS_NOSUID))
6 # define MS_NOSUID 2
7 #endif
8 #if !(defined(MS_NODEV) || (defined(HAVE_DECL_MS_NODEV) && HAVE_DECL_MS_NODEV))
9 # define MS_NODEV 4
10 #endif
11 #if !(defined(MS_NOEXEC) || (defined(HAVE_DECL_MS_NOEXEC) && HAVE_DECL_MS_NOEXEC))
12 # define MS_NOEXEC 8
13 #endif
14 #if !(defined(MS_SYNCHRONOUS) || (defined(HAVE_DECL_MS_SYNCHRONOUS) && HAVE_DECL_MS_SYNCHRONOUS))
15 # define MS_SYNCHRONOUS 16
16 #endif
17 #if !(defined(MS_REMOUNT) || (defined(HAVE_DECL_MS_REMOUNT) && HAVE_DECL_MS_REMOUNT))
18 # define MS_REMOUNT 32
19 #endif
20 #if !(defined(MS_MANDLOCK) || (defined(HAVE_DECL_MS_MANDLOCK) && HAVE_DECL_MS_MANDLOCK))
21 # define MS_MANDLOCK 64
22 #endif
23 #if !(defined(MS_DIRSYNC) || (defined(HAVE_DECL_MS_DIRSYNC) && HAVE_DECL_MS_DIRSYNC))
24 # define MS_DIRSYNC 128
25 #endif
26 #if !(defined(MS_NOATIME) || (defined(HAVE_DECL_MS_NOATIME) && HAVE_DECL_MS_NOATIME))
27 # define MS_NOATIME 1024
28 #endif
29 #if !(defined(MS_NODIRATIME) || (defined(HAVE_DECL_MS_NODIRATIME) && HAVE_DECL_MS_NODIRATIME))
30 # define MS_NODIRATIME 2048
31 #endif
32 #if !(defined(MS_BIND) || (defined(HAVE_DECL_MS_BIND) && HAVE_DECL_MS_BIND))
33 # define MS_BIND 4096
34 #endif
35 #if !(defined(MS_MOVE) || (defined(HAVE_DECL_MS_MOVE) && HAVE_DECL_MS_MOVE))
36 # define MS_MOVE 8192
37 #endif
38 #if !(defined(MS_REC) || (defined(HAVE_DECL_MS_REC) && HAVE_DECL_MS_REC))
39 # define MS_REC 16384
40 #endif
41 #if !(defined(MS_SILENT) || (defined(HAVE_DECL_MS_SILENT) && HAVE_DECL_MS_SILENT))
42 # define MS_SILENT 32768
43 #endif
44 #if !(defined(MS_POSIXACL) || (defined(HAVE_DECL_MS_POSIXACL) && HAVE_DECL_MS_POSIXACL))
45 # define MS_POSIXACL (1<<16)
46 #endif
47 #if !(defined(MS_UNBINDABLE) || (defined(HAVE_DECL_MS_UNBINDABLE) && HAVE_DECL_MS_UNBINDABLE))
48 # define MS_UNBINDABLE (1<<17)
49 #endif
50 #if !(defined(MS_PRIVATE) || (defined(HAVE_DECL_MS_PRIVATE) && HAVE_DECL_MS_PRIVATE))
51 # define MS_PRIVATE (1<<18)
52 #endif
53 #if !(defined(MS_SLAVE) || (defined(HAVE_DECL_MS_SLAVE) && HAVE_DECL_MS_SLAVE))
54 # define MS_SLAVE (1<<19)
55 #endif
56 #if !(defined(MS_SHARED) || (defined(HAVE_DECL_MS_SHARED) && HAVE_DECL_MS_SHARED))
57 # define MS_SHARED (1<<20)
58 #endif
59 #if !(defined(MS_RELATIME) || (defined(HAVE_DECL_MS_RELATIME) && HAVE_DECL_MS_RELATIME))
60 # define MS_RELATIME (1<<21)
61 #endif
62 #if !(defined(MS_KERNMOUNT) || (defined(HAVE_DECL_MS_KERNMOUNT) && HAVE_DECL_MS_KERNMOUNT))
63 # define MS_KERNMOUNT (1<<22)
64 #endif
65 #if !(defined(MS_I_VERSION) || (defined(HAVE_DECL_MS_I_VERSION) && HAVE_DECL_MS_I_VERSION))
66 # define MS_I_VERSION (1<<23)
67 #endif
68 #if !(defined(MS_STRICTATIME) || (defined(HAVE_DECL_MS_STRICTATIME) && HAVE_DECL_MS_STRICTATIME))
69 # define MS_STRICTATIME (1<<24)
70 #endif
71 #if !(defined(MS_LAZYTIME) || (defined(HAVE_DECL_MS_LAZYTIME) && HAVE_DECL_MS_LAZYTIME))
72 # define MS_LAZYTIME (1<<25)
73 #endif
74 #if !(defined(MS_NOSEC) || (defined(HAVE_DECL_MS_NOSEC) && HAVE_DECL_MS_NOSEC))
75 # define MS_NOSEC (1<<28)
76 #endif
77 #if !(defined(MS_BORN) || (defined(HAVE_DECL_MS_BORN) && HAVE_DECL_MS_BORN))
78 # define MS_BORN (1<<29)
79 #endif
80 #if !(defined(MS_ACTIVE) || (defined(HAVE_DECL_MS_ACTIVE) && HAVE_DECL_MS_ACTIVE))
81 # define MS_ACTIVE (1<<30)
82 #endif
83 #if !(defined(MS_NOUSER) || (defined(HAVE_DECL_MS_NOUSER) && HAVE_DECL_MS_NOUSER))
84 # define MS_NOUSER (1<<31)
85 #endif
86 
87 #ifdef IN_MPERS
88 
89 # error static const struct xlat mount_flags in mpers mode
90 
91 #else
92 
93 static
94 const struct xlat mount_flags[] = {
95  XLAT(MS_RDONLY),
96  XLAT(MS_NOSUID),
97  XLAT(MS_NODEV),
98  XLAT(MS_NOEXEC),
99  XLAT(MS_SYNCHRONOUS),
100  XLAT(MS_REMOUNT),
101  XLAT(MS_MANDLOCK),
102  XLAT(MS_DIRSYNC),
103  XLAT(MS_NOATIME),
104  XLAT(MS_NODIRATIME),
105  XLAT(MS_BIND),
106  XLAT(MS_MOVE),
107  XLAT(MS_REC),
108  XLAT(MS_SILENT),
109  XLAT(MS_POSIXACL),
110  XLAT(MS_UNBINDABLE),
111  XLAT(MS_PRIVATE),
112  XLAT(MS_SLAVE),
113  XLAT(MS_SHARED),
114  XLAT(MS_RELATIME),
115  XLAT(MS_KERNMOUNT),
116  XLAT(MS_I_VERSION),
117  XLAT(MS_STRICTATIME),
118  XLAT(MS_LAZYTIME),
119  XLAT(MS_NOSEC),
120  XLAT(MS_BORN),
121  XLAT(MS_ACTIVE),
122  XLAT(MS_NOUSER),
123  XLAT_END
124 };
125 
126 #endif /* !IN_MPERS */
127