130 lines
4.1 KiB
C
130 lines
4.1 KiB
C
/* Generated by ./xlat/gen.sh from ./xlat/mount_flags.in; do not edit. */
|
|
#if !(defined(MS_RDONLY) || (defined(HAVE_DECL_MS_RDONLY) && HAVE_DECL_MS_RDONLY))
|
|
# define MS_RDONLY 1
|
|
#endif
|
|
#if !(defined(MS_NOSUID) || (defined(HAVE_DECL_MS_NOSUID) && HAVE_DECL_MS_NOSUID))
|
|
# define MS_NOSUID 2
|
|
#endif
|
|
#if !(defined(MS_NODEV) || (defined(HAVE_DECL_MS_NODEV) && HAVE_DECL_MS_NODEV))
|
|
# define MS_NODEV 4
|
|
#endif
|
|
#if !(defined(MS_NOEXEC) || (defined(HAVE_DECL_MS_NOEXEC) && HAVE_DECL_MS_NOEXEC))
|
|
# define MS_NOEXEC 8
|
|
#endif
|
|
#if !(defined(MS_SYNCHRONOUS) || (defined(HAVE_DECL_MS_SYNCHRONOUS) && HAVE_DECL_MS_SYNCHRONOUS))
|
|
# define MS_SYNCHRONOUS 16
|
|
#endif
|
|
#if !(defined(MS_REMOUNT) || (defined(HAVE_DECL_MS_REMOUNT) && HAVE_DECL_MS_REMOUNT))
|
|
# define MS_REMOUNT 32
|
|
#endif
|
|
#if !(defined(MS_MANDLOCK) || (defined(HAVE_DECL_MS_MANDLOCK) && HAVE_DECL_MS_MANDLOCK))
|
|
# define MS_MANDLOCK 64
|
|
#endif
|
|
#if !(defined(MS_DIRSYNC) || (defined(HAVE_DECL_MS_DIRSYNC) && HAVE_DECL_MS_DIRSYNC))
|
|
# define MS_DIRSYNC 128
|
|
#endif
|
|
#if !(defined(MS_NOATIME) || (defined(HAVE_DECL_MS_NOATIME) && HAVE_DECL_MS_NOATIME))
|
|
# define MS_NOATIME 1024
|
|
#endif
|
|
#if !(defined(MS_NODIRATIME) || (defined(HAVE_DECL_MS_NODIRATIME) && HAVE_DECL_MS_NODIRATIME))
|
|
# define MS_NODIRATIME 2048
|
|
#endif
|
|
#if !(defined(MS_BIND) || (defined(HAVE_DECL_MS_BIND) && HAVE_DECL_MS_BIND))
|
|
# define MS_BIND 4096
|
|
#endif
|
|
#if !(defined(MS_MOVE) || (defined(HAVE_DECL_MS_MOVE) && HAVE_DECL_MS_MOVE))
|
|
# define MS_MOVE 8192
|
|
#endif
|
|
#if !(defined(MS_REC) || (defined(HAVE_DECL_MS_REC) && HAVE_DECL_MS_REC))
|
|
# define MS_REC 16384
|
|
#endif
|
|
#if !(defined(MS_SILENT) || (defined(HAVE_DECL_MS_SILENT) && HAVE_DECL_MS_SILENT))
|
|
# define MS_SILENT 32768
|
|
#endif
|
|
#if !(defined(MS_POSIXACL) || (defined(HAVE_DECL_MS_POSIXACL) && HAVE_DECL_MS_POSIXACL))
|
|
# define MS_POSIXACL (1<<16)
|
|
#endif
|
|
#if !(defined(MS_UNBINDABLE) || (defined(HAVE_DECL_MS_UNBINDABLE) && HAVE_DECL_MS_UNBINDABLE))
|
|
# define MS_UNBINDABLE (1<<17)
|
|
#endif
|
|
#if !(defined(MS_PRIVATE) || (defined(HAVE_DECL_MS_PRIVATE) && HAVE_DECL_MS_PRIVATE))
|
|
# define MS_PRIVATE (1<<18)
|
|
#endif
|
|
#if !(defined(MS_SLAVE) || (defined(HAVE_DECL_MS_SLAVE) && HAVE_DECL_MS_SLAVE))
|
|
# define MS_SLAVE (1<<19)
|
|
#endif
|
|
#if !(defined(MS_SHARED) || (defined(HAVE_DECL_MS_SHARED) && HAVE_DECL_MS_SHARED))
|
|
# define MS_SHARED (1<<20)
|
|
#endif
|
|
#if !(defined(MS_RELATIME) || (defined(HAVE_DECL_MS_RELATIME) && HAVE_DECL_MS_RELATIME))
|
|
# define MS_RELATIME (1<<21)
|
|
#endif
|
|
#if !(defined(MS_KERNMOUNT) || (defined(HAVE_DECL_MS_KERNMOUNT) && HAVE_DECL_MS_KERNMOUNT))
|
|
# define MS_KERNMOUNT (1<<22)
|
|
#endif
|
|
#if !(defined(MS_I_VERSION) || (defined(HAVE_DECL_MS_I_VERSION) && HAVE_DECL_MS_I_VERSION))
|
|
# define MS_I_VERSION (1<<23)
|
|
#endif
|
|
#if !(defined(MS_STRICTATIME) || (defined(HAVE_DECL_MS_STRICTATIME) && HAVE_DECL_MS_STRICTATIME))
|
|
# define MS_STRICTATIME (1<<24)
|
|
#endif
|
|
#if !(defined(MS_LAZYTIME) || (defined(HAVE_DECL_MS_LAZYTIME) && HAVE_DECL_MS_LAZYTIME))
|
|
# define MS_LAZYTIME (1<<25)
|
|
#endif
|
|
#if !(defined(MS_NOREMOTELOCK) || (defined(HAVE_DECL_MS_NOREMOTELOCK) && HAVE_DECL_MS_NOREMOTELOCK))
|
|
# define MS_NOREMOTELOCK (1<<27)
|
|
#endif
|
|
#if !(defined(MS_NOSEC) || (defined(HAVE_DECL_MS_NOSEC) && HAVE_DECL_MS_NOSEC))
|
|
# define MS_NOSEC (1<<28)
|
|
#endif
|
|
#if !(defined(MS_BORN) || (defined(HAVE_DECL_MS_BORN) && HAVE_DECL_MS_BORN))
|
|
# define MS_BORN (1<<29)
|
|
#endif
|
|
#if !(defined(MS_ACTIVE) || (defined(HAVE_DECL_MS_ACTIVE) && HAVE_DECL_MS_ACTIVE))
|
|
# define MS_ACTIVE (1<<30)
|
|
#endif
|
|
#if !(defined(MS_NOUSER) || (defined(HAVE_DECL_MS_NOUSER) && HAVE_DECL_MS_NOUSER))
|
|
# define MS_NOUSER (1<<31)
|
|
#endif
|
|
|
|
#ifdef IN_MPERS
|
|
|
|
# error static const struct xlat mount_flags in mpers mode
|
|
|
|
#else
|
|
|
|
static
|
|
const struct xlat mount_flags[] = {
|
|
XLAT(MS_RDONLY),
|
|
XLAT(MS_NOSUID),
|
|
XLAT(MS_NODEV),
|
|
XLAT(MS_NOEXEC),
|
|
XLAT(MS_SYNCHRONOUS),
|
|
XLAT(MS_REMOUNT),
|
|
XLAT(MS_MANDLOCK),
|
|
XLAT(MS_DIRSYNC),
|
|
XLAT(MS_NOATIME),
|
|
XLAT(MS_NODIRATIME),
|
|
XLAT(MS_BIND),
|
|
XLAT(MS_MOVE),
|
|
XLAT(MS_REC),
|
|
XLAT(MS_SILENT),
|
|
XLAT(MS_POSIXACL),
|
|
XLAT(MS_UNBINDABLE),
|
|
XLAT(MS_PRIVATE),
|
|
XLAT(MS_SLAVE),
|
|
XLAT(MS_SHARED),
|
|
XLAT(MS_RELATIME),
|
|
XLAT(MS_KERNMOUNT),
|
|
XLAT(MS_I_VERSION),
|
|
XLAT(MS_STRICTATIME),
|
|
XLAT(MS_LAZYTIME),
|
|
XLAT(MS_NOREMOTELOCK),
|
|
XLAT(MS_NOSEC),
|
|
XLAT(MS_BORN),
|
|
XLAT(MS_ACTIVE),
|
|
XLAT(MS_NOUSER),
|
|
XLAT_END
|
|
};
|
|
|
|
#endif /* !IN_MPERS */
|